aboutsummaryrefslogtreecommitdiffstats
path: root/science/cdf/files
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-02-12 17:38:25 +0800
committerthierry <thierry@FreeBSD.org>2006-02-12 17:38:25 +0800
commitc00553e3856c438123ceb35f59264448b7743f6c (patch)
treefda7ce70d3c691d6d030cc2cd0fe346d4e70102a /science/cdf/files
parent05b3e669c5acff3958a68929c74aec6aad4d5031 (diff)
downloadfreebsd-ports-gnome-c00553e3856c438123ceb35f59264448b7743f6c.tar.gz
freebsd-ports-gnome-c00553e3856c438123ceb35f59264448b7743f6c.tar.zst
freebsd-ports-gnome-c00553e3856c438123ceb35f59264448b7743f6c.zip
Re-add patch-Makefile to respect CFLAGS / FFLAGS / CC & co.
Diffstat (limited to 'science/cdf/files')
-rw-r--r--science/cdf/files/patch-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/science/cdf/files/patch-Makefile b/science/cdf/files/patch-Makefile
new file mode 100644
index 000000000000..74039c3a4c04
--- /dev/null
+++ b/science/cdf/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- Makefile.orig Wed Feb 1 22:23:42 2006
++++ Makefile Sun Feb 12 10:29:44 2006
+@@ -403,16 +403,16 @@
+ LDOPTIONSidl_freebsd=-shared
+ AROPTIONS_freebsd=rc
+ RANLIB_freebsd=yes
+-FC_freebsd=f77
++FC_freebsd=$(F77)
+
+ CURSES_freebsd_gnu=yes
+-CC_freebsd_gnu=cc
+-LD_freebsd_gnu=ld
++CC_freebsd_gnu=$(CC)
++LD_freebsd_gnu=$(LD)
+ PIC_freebsd_gnu=-fPIC
+-COPTIONS_freebsd_gnu=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DMALLOC_CHECK_=0
+-COPTIONSld_freebsd_gnu=
+-FOPTIONS_freebsd_gnu=
+-FOPTIONSld_freebsd_gnu=
++COPTIONS_freebsd_gnu=$(CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DMALLOC_CHECK_=0
++COPTIONSld_freebsd_gnu=$(LDFLAGS)
++FOPTIONS_freebsd_gnu=$(FFLAGS)
++FOPTIONSld_freebsd_gnu=$(LDFLAGS)
+ CURSESLIB_freebsd_gnu=-lncurses
+ SYSLIBSexe_freebsd_gnu=-lm -lc
+ SYSLIBSshr_freebsd_gnu=-lm -lc