From 82748561610605038f9448276d48275fdf5bb1e5 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 28 Oct 2013 23:46:55 +0000 Subject: When extracting rpath options from the Fortran linker, prefix them with -Wl before passing them back to CC. --- math/itpp/distinfo | 3 ++- math/itpp/patches/patch-configure | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 math/itpp/patches/patch-configure (limited to 'math/itpp') 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 -- cgit v1.2.3