summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-04-12 13:58:54 +0000
committeradam <adam@pkgsrc.org>2013-04-12 13:58:54 +0000
commita5f396da4b9960ac76044d2cb5ff0c2eaad21cdd (patch)
treec503fd2b5bed6d43823c7996b8ef75112ba4329d /lang/f2c
parent78285aadeda7edf4c1a5a7dab320ee974f1c7c18 (diff)
downloadpkgsrc-a5f396da4b9960ac76044d2cb5ff0c2eaad21cdd.tar.gz
Pass -framework option; needed on Mac OS X
Diffstat (limited to 'lang/f2c')
-rw-r--r--lang/f2c/files/f2c-f77.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/f2c/files/f2c-f77.in b/lang/f2c/files/f2c-f77.in
index dd9a8711429..da336b03f82 100644
--- a/lang/f2c/files/f2c-f77.in
+++ b/lang/f2c/files/f2c-f77.in
@@ -30,6 +30,8 @@ PATH=$PATH:/bin:/usr/bin:@PREFIX@/bin
#
# -isysroot Change root directory for headers and libraries
#
+# -framework Tells the linker to search for a framework
+#
# -c Do not call linker, leave relocatables in *.o.
#
# -C Check that subscripts are in bounds.
@@ -304,6 +306,10 @@ do
shift 2
;;
+ -framework) CFLAGS="$CFLAGS $1 $(shell_quote "$2")"
+ shift 2
+ ;;
+
-*) CFLAGS="$CFLAGS $(shell_quote "$1")"
CPPFLAGS="$CPPFLAGS $(shell_quote "$1")"
if test $VERBOSE = "yes"; then