singular-3.1.3.3-install_name.patch 862 B

123456789101112131415161718192021222324
  1. --- kernel/Makefile.in.orig 2011-10-13 23:36:54.000000000 +0200
  2. +++ kernel/Makefile.in 2011-10-13 23:37:46.000000000 +0200
  3. @@ -267,7 +267,7 @@
  4. -rm -f p_Procs_Dynamic p_Procs_Dynamic.exe
  5. p_Procs_%.so: p_Procs_Lib_%.dl_o
  6. - $(LD) ${SLDFLAGS} -o $@ $^
  7. + $(LD) ${SLDFLAGS} -install_name @GENTOO_PORTAGE_EPREFIX@/usr/lib/singular/$@ -o $@ $^
  8. ##
  9. ## install targets
  10. --- Singular/Makefile.in.orig 2011-10-14 23:59:07.000000000 +0200
  11. +++ Singular/Makefile.in 2011-10-14 23:58:34.000000000 +0200
  12. @@ -492,7 +492,7 @@
  13. $(LD) ${SLDFLAGS} -o $@ $^ -L${libdir} ${MP_LIBS} ${GLIBC_DYN_FIX}
  14. dbmsr.so: $(DBMSR_SOURCES:.cc=.dl_o)
  15. - $(LD) ${SLDFLAGS} -o $@ $^ ${GLIBC_DYN_FIX}
  16. + $(LD) ${SLDFLAGS} -install_name @GENTOO_PORTAGE_EPREFIX@/usr/lib/singular/$@ -o $@ $^ ${GLIBC_DYN_FIX}
  17. # dynamic module for python bject support
  18. pyobject.${MODULE_SUFFIX}: pyobject.dl_o