diff options
Diffstat (limited to 'sci-mathematics/calc/files/calc-2.12.2.2-libdir-fix.patch')
-rw-r--r-- | sci-mathematics/calc/files/calc-2.12.2.2-libdir-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/calc/files/calc-2.12.2.2-libdir-fix.patch b/sci-mathematics/calc/files/calc-2.12.2.2-libdir-fix.patch new file mode 100644 index 00000000000..f265793ab87 --- /dev/null +++ b/sci-mathematics/calc/files/calc-2.12.2.2-libdir-fix.patch @@ -0,0 +1,12 @@ +diff -Naur calc-2.12.2.2.old/Makefile calc-2.12.2.2/Makefile +--- calc-2.12.2.2.old/Makefile 2007-09-29 12:58:19.000000000 -0400 ++++ calc-2.12.2.2/Makefile 2007-10-24 06:40:10.000000000 -0400 +@@ -1131,7 +1131,7 @@ + BLD_TYPE= calc-dynamic-only + # + CC_SHARE= -fPIC +-DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib ++DEFAULT_LIB_INSTALL_PATH= /lib:/usr/lib:${LIBDIR}:/usr/local/lib + LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ + "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" + LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" |