diff options
author | 2015-05-07 07:10:49 +0000 | |
---|---|---|
committer | 2015-05-07 07:10:49 +0000 | |
commit | 1caa463bcc6de45b0604faf4362b4cd52643195e (patch) | |
tree | d89a2327dc582b156bc5acdc3283df2ebcf3315c /sci-libs/libint/files | |
parent | Version bump. (diff) | |
download | gentoo-2-1caa463bcc6de45b0604faf4362b4cd52643195e.tar.gz gentoo-2-1caa463bcc6de45b0604faf4362b4cd52643195e.tar.bz2 gentoo-2-1caa463bcc6de45b0604faf4362b4cd52643195e.zip |
Version Bump bug #548674; thanks Viktor Yu. Kovalskii for the initial ebuilds
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/libint/files')
-rw-r--r-- | sci-libs/libint/files/libint-1.1.6-as-needed.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/sci-libs/libint/files/libint-1.1.6-as-needed.patch b/sci-libs/libint/files/libint-1.1.6-as-needed.patch new file mode 100644 index 000000000000..c48505314b39 --- /dev/null +++ b/sci-libs/libint/files/libint-1.1.6-as-needed.patch @@ -0,0 +1,77 @@ + configure.ac | 3 +-- + src/bin/MakeRules.in | 2 +- + src/lib/libderiv/Makefile.library | 2 +- + src/lib/libint/Makefile.library | 2 +- + src/lib/libr12/Makefile.library | 2 +- + 5 files changed, 5 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index dc86e88..8cc3aac 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -317,12 +317,11 @@ LIBS=$withval + echo Using extra libraries: $withval + ) + +-LDFLAGS= + LIBDIRS= + AC_ARG_WITH(libdirs, + [ --with-libdirs Specifies library directories (-Ldir1 -Ldir2).], + LIBDIRS=$withval +-LDFLAGS=$withval ++LDFLAGS="$LDFLAGS $withval" + echo Using extra library directories: $withval + ) + +diff --git a/src/bin/MakeRules.in b/src/bin/MakeRules.in +index 5b90607..8ea5005 100644 +--- a/src/bin/MakeRules.in ++++ b/src/bin/MakeRules.in +@@ -3,7 +3,7 @@ HAVE_MAKERULES = yes + + BINOBJ = $(BUILD_CSRC:%.c=%.$(OBJSUF)) $(BUILD_CXXSRC:%.cc=%.$(OBJSUF)) + $(BUILD_BINARY): $(BINOBJ) +- $(LD) $^ $(LDFLAGS) $(SYSLIBS) -o $@ ++ $(LD) $(LDFLAGS) $^ $(SYSLIBS) -o $@ + + .PHONY: install install_inc install_target uninstall clean oclean distclean targetclean realclean + install:: +diff --git a/src/lib/libderiv/Makefile.library b/src/lib/libderiv/Makefile.library +index ee152ef..8debfe8 100644 +--- a/src/lib/libderiv/Makefile.library ++++ b/src/lib/libderiv/Makefile.library +@@ -23,7 +23,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) + + # this is how shared library is made + $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) +- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) ++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) + + $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h + $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) +diff --git a/src/lib/libint/Makefile.library b/src/lib/libint/Makefile.library +index 23e2918..01c4225 100644 +--- a/src/lib/libint/Makefile.library ++++ b/src/lib/libint/Makefile.library +@@ -41,7 +41,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) + + # this is how shared library is made + $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) +- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) ++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) + + $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h + $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) +diff --git a/src/lib/libr12/Makefile.library b/src/lib/libr12/Makefile.library +index 1510807..26d47a4 100644 +--- a/src/lib/libr12/Makefile.library ++++ b/src/lib/libr12/Makefile.library +@@ -47,7 +47,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) + + # this is how shared library is made + $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) +- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) ++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) + + $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h + $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) |