diff options
author | adam <adam@pkgsrc.org> | 2013-04-12 13:58:54 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-04-12 13:58:54 +0000 |
commit | 811634a211b092ddfffc2c8d5a969a4b3b98fa51 (patch) | |
tree | c503fd2b5bed6d43823c7996b8ef75112ba4329d /lang/f2c | |
parent | 8a21f947a83edd11c5e2b44802e97c13d81b73e1 (diff) | |
download | pkgsrc-811634a211b092ddfffc2c8d5a969a4b3b98fa51.tar.gz |
Pass -framework option; needed on Mac OS X
Diffstat (limited to 'lang/f2c')
-rw-r--r-- | lang/f2c/files/f2c-f77.in | 6 |
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 |