aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-29 16:43:14 +0800
committerkris <kris@FreeBSD.org>2004-03-29 16:43:14 +0800
commit6d4e6abe86e4056fdb295ecfaa6c6d26ba149c1a (patch)
tree9e6c711b701198584a6b2d8385e5e28d25662d16
parent25baf217b2ac542ec19e5f2e8078bcaa302393ea (diff)
downloadfreebsd-ports-gnome-6d4e6abe86e4056fdb295ecfaa6c6d26ba149c1a.tar.gz
freebsd-ports-gnome-6d4e6abe86e4056fdb295ecfaa6c6d26ba149c1a.tar.zst
freebsd-ports-gnome-6d4e6abe86e4056fdb295ecfaa6c6d26ba149c1a.zip
Fix build on amd64 (compile shared libraries with -fPIC)
-rw-r--r--math/PDL/files/patch-Lib::Slatec::Makefile.PL11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/PDL/files/patch-Lib::Slatec::Makefile.PL b/math/PDL/files/patch-Lib::Slatec::Makefile.PL
new file mode 100644
index 000000000000..3f8804ae18d5
--- /dev/null
+++ b/math/PDL/files/patch-Lib::Slatec::Makefile.PL
@@ -0,0 +1,11 @@
+--- Lib/Slatec/Makefile.PL.orig Mon Mar 29 00:20:18 2004
++++ Lib/Slatec/Makefile.PL Mon Mar 29 00:19:57 2004
+@@ -118,7 +118,7 @@
+ ("
+
+ slatec/$_\$(OBJ_EXT): slatec/$_.f
+- $mycompiler -c -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
++ $mycompiler -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
+ " )} @slatecfiles;
+
+ }