diff options
Diffstat (limited to 'sci-libs/libint/files')
-rw-r--r-- | sci-libs/libint/files/1.1.4-as-needed.patch | 39 | ||||
-rw-r--r-- | sci-libs/libint/files/dont-append-mcpu.patch | 16 | ||||
-rw-r--r-- | sci-libs/libint/files/libint-1.1.6-as-needed.patch | 77 |
3 files changed, 132 insertions, 0 deletions
diff --git a/sci-libs/libint/files/1.1.4-as-needed.patch b/sci-libs/libint/files/1.1.4-as-needed.patch new file mode 100644 index 000000000000..cc87d760b699 --- /dev/null +++ b/sci-libs/libint/files/1.1.4-as-needed.patch @@ -0,0 +1,39 @@ +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) diff --git a/sci-libs/libint/files/dont-append-mcpu.patch b/sci-libs/libint/files/dont-append-mcpu.patch new file mode 100644 index 000000000000..72b5e437051b --- /dev/null +++ b/sci-libs/libint/files/dont-append-mcpu.patch @@ -0,0 +1,16 @@ +diff -urN libint-1.1.2.orig/configure libint-1.1.2/configure +--- libint-1.1.2.orig/configure 2003-12-05 13:24:55.000000000 -0800 ++++ libint-1.1.2/configure 2005-12-06 03:27:37.000000000 -0800 +@@ -3554,10 +3554,10 @@ + cpu_arch_option="-mcpu=$target_cpu" + fi + if test X$GCC = Xyes; then +- COPTIONS_MISC="$COPTIONS_MISC $cpu_arch_option" ++ COPTIONS_MISC="$COPTIONS_MISC" + fi + if test X$GXX = Xyes; then +- CXXOPTIONS_MISC="$CXXOPTIONS_MISC $cpu_arch_option" ++ CXXOPTIONS_MISC="$CXXOPTIONS_MISC" + fi + echo "$as_me:3562: result: IA-32: $cpu_arch_option" >&5 + echo "${ECHO_T}IA-32: $cpu_arch_option" >&6 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) |