summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/dssp/files/dssp-2.0.4-gentoo.patch')
-rw-r--r--sci-chemistry/dssp/files/dssp-2.0.4-gentoo.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/sci-chemistry/dssp/files/dssp-2.0.4-gentoo.patch b/sci-chemistry/dssp/files/dssp-2.0.4-gentoo.patch
deleted file mode 100644
index 3db40f640ccd..000000000000
--- a/sci-chemistry/dssp/files/dssp-2.0.4-gentoo.patch
+++ /dev/null
@@ -1,70 +0,0 @@
- makefile | 24 ++++++++++++++----------
- 1 files changed, 14 insertions(+), 10 deletions(-)
-
-diff --git a/makefile b/makefile
-index df699b7..9d2167b 100644
---- a/makefile
-+++ b/makefile
-@@ -2,7 +2,7 @@
- #
- # Copyright Maarten L. Hekkelman, Radboud University 2008-2011.
- # Distributed under the Boost Software License, Version 1.0.
--# (See accompanying file LICENSE_1_0.txt or copy at
-+# (See aCXXompanying file LICENSE_1_0.txt or copy at
- # http://www.boost.org/LICENSE_1_0.txt)
- #
- # This makefile includes a file called make.config. It will create a
-@@ -24,22 +24,23 @@ BOOST_LIBS = thread regex filesystem program_options date_time iostreams math_
- LIBS = $(BOOST_LIBS:%=boost_%$(BOOST_LIB_SUFFIX)) z bz2
-
- DEFINES = USE_COMPRESSION LINUX VERSION='"$(VERSION)"'
--CC = c++
-+CXX ?= c++
-
--CFLAGS = $(INC_DIR:%=-I%) -iquote src -g -Wall -Wno-multichar -pthread
--LDOPTS = $(LIB_DIR:%=-L%) $(LIBS:%=-l%) -g -pthread
-+CPPFLAGS += $(INC_DIR:%=-I%) -iquote src
-+CXXFLAGS += -Wall -Wno-multichar -pthread
-+LDOPTS = $(LIB_DIR:%=-L%) $(LIBS:%=-l%) -pthread
-
- OBJ_DIR = obj
-
- ifeq ($(DEBUG),1)
- OBJ_DIR := $(OBJ_DIR).dbg
--CFLAGS += -g3
-+CFLAGS +=
- else
- DEFINES += NDEBUG
--CFLAGS += -O3
-+CFLAGS +=
- endif
-
--CFLAGS += $(DEFINES:%=-D%)
-+CPPFLAGS += $(DEFINES:%=-D%)
-
- DIST_NAME = dssp-$(VERSION)
-
-@@ -49,17 +50,20 @@ OBJECTS = $(OBJ_DIR)/mkdssp.o $(OBJ_DIR)/dssp.o $(OBJ_DIR)/primitives-3d.o $(OBJ
-
- mkdssp: $(OBJECTS)
- @ echo linking $@
-- @ $(CC) -static -o $@ $^ $(LDOPTS)
-+ $(CXX) $(LDFLAGS) -o $@ $^ $(LDOPTS)
- @ echo OK
-
- include $(OBJECTS:%.o=%.d)
-
- $(OBJECTS:.o=.d):
-
--$(OBJ_DIR)/%.o: %.cpp
-+OBJ_DIR:
- @ if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi
-+
-+
-+$(OBJ_DIR)/%.o: %.cpp OBJ_DIR
- @ echo compiling $@
-- @ $(CC) -MD -c -o $@ $< $(CFLAGS)
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c -o $@ $<
-
- clean:
- rm -rf $(OBJ_DIR)/* mkdssp