aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2016-10-03 02:36:59 +0800
committerstephen <stephen@FreeBSD.org>2016-10-03 02:36:59 +0800
commit71722010060c548f29c910002ab1f4d928ef74d1 (patch)
treefcbd9654ab229425d59bdd2362b1b1c78278a5f1 /science
parentcf905300b6bab56b1c183c9b4af66440e87e3be9 (diff)
downloadfreebsd-ports-gnome-71722010060c548f29c910002ab1f4d928ef74d1.tar.gz
freebsd-ports-gnome-71722010060c548f29c910002ab1f4d928ef74d1.tar.zst
freebsd-ports-gnome-71722010060c548f29c910002ab1f4d928ef74d1.zip
- Make it so that libcdf.so has an SONAME.
Diffstat (limited to 'science')
-rw-r--r--science/cdf/files/patch-Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/science/cdf/files/patch-Makefile b/science/cdf/files/patch-Makefile
index 0540730f1586..bbdabded187a 100644
--- a/science/cdf/files/patch-Makefile
+++ b/science/cdf/files/patch-Makefile
@@ -1,14 +1,15 @@
---- Makefile.orig Mon Nov 13 22:59:25 2006
-+++ Makefile Sun Jan 7 14:20:10 2007
-@@ -568,14 +568,14 @@
+--- Makefile.orig 2009-05-13 14:17:26 UTC
++++ Makefile
+@@ -601,14 +601,14 @@ RANLIB_freebsd=yes
FC_freebsd=f77
CURSES_freebsd_gnu=yes
-CC_freebsd_gnu=gcc
-LD_freebsd_gnu=gcc
+-LDOPTIONS_freebsd_gnu=-shared
+CC_freebsd_gnu=$(CC)
+LD_freebsd_gnu=$(CC)
- LDOPTIONS_freebsd_gnu=-shared
++LDOPTIONS_freebsd_gnu=-shared -Wl,-soname,libcdf.so.0
PIC_freebsd_gnu=-fPIC
-COPTIONS_freebsd_gnu=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DMALLOC_CHECK_=0
-COPTIONSld_freebsd_gnu=