diff options
author | adam <adam> | 2013-04-12 13:58:54 +0000 |
---|---|---|
committer | adam <adam> | 2013-04-12 13:58:54 +0000 |
commit | cfa516bec5e2e8353a1a8445d65118201ede284c (patch) | |
tree | c503fd2b5bed6d43823c7996b8ef75112ba4329d /lang/f2c/files | |
parent | 33df957f051d2612d532fe3f07bff9eb05b9e66b (diff) | |
download | pkgsrc-cfa516bec5e2e8353a1a8445d65118201ede284c.tar.gz |
Pass -framework option; needed on Mac OS X
Diffstat (limited to 'lang/f2c/files')
-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 |