diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-28 23:46:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-28 23:46:55 +0000 |
commit | 87711bb571ada6e108ce9a484f095cae434b61d2 (patch) | |
tree | 7a4d7e8ce6fba247d8ace51be216cf91d0279417 /math | |
parent | a88c23deb7b0f486f500dda81f9e15e35f68da36 (diff) | |
download | pkgsrc-87711bb571ada6e108ce9a484f095cae434b61d2.tar.gz |
When extracting rpath options from the Fortran linker, prefix them with
-Wl before passing them back to CC.
Diffstat (limited to 'math')
-rw-r--r-- | math/itpp/distinfo | 3 | ||||
-rw-r--r-- | math/itpp/patches/patch-configure | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/math/itpp/distinfo b/math/itpp/distinfo index 1f2ec6174e5..bfe3bcc325c 100644 --- a/math/itpp/distinfo +++ b/math/itpp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/03/16 21:22:14 agc Exp $ +$NetBSD: distinfo,v 1.2 2013/10/28 23:46:55 joerg Exp $ SHA1 (itpp-4.0.7.tar.gz) = 224bc34cf30fc65f4c7a75a71971a074a9f4c57c RMD160 (itpp-4.0.7.tar.gz) = 628bad6d3533ea3e486890fe315790f292c4b561 Size (itpp-4.0.7.tar.gz) = 1222834 bytes +SHA1 (patch-configure) = 48140e4526312c75ef4bdb31ef8d02f89c79046c diff --git a/math/itpp/patches/patch-configure b/math/itpp/patches/patch-configure new file mode 100644 index 00000000000..8a753d5b870 --- /dev/null +++ b/math/itpp/patches/patch-configure @@ -0,0 +1,18 @@ +$NetBSD: patch-configure,v 1.1 2013/10/28 23:46:55 joerg Exp $ + +--- configure.orig 2013-10-28 21:42:15.000000000 +0000 ++++ configure +@@ -23433,7 +23433,12 @@ fi + + done + ;; +- -[lLR]*) ++ -R*) ++ ac_arg="-Wl,$ac_arg" ++ shift ++ set X $ac_arg "$@" ++ ;; ++ -[lLR]*|-Wl*) + ac_exists=false + for ac_i in $ac_cv_f77_libs; do + if test x"$ac_arg" = x"$ac_i"; then |