pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/itpp When extracting rpath options from the Fortr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cf35cd2d025
branches:  trunk
changeset: 625962:1cf35cd2d025
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 28 23:46:55 2013 +0000

description:
When extracting rpath options from the Fortran linker, prefix them with
-Wl before passing them back to CC.

diffstat:

 math/itpp/distinfo                |   3 ++-
 math/itpp/patches/patch-configure |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r eed06906336e -r 1cf35cd2d025 math/itpp/distinfo
--- a/math/itpp/distinfo        Mon Oct 28 23:45:59 2013 +0000
+++ b/math/itpp/distinfo        Mon Oct 28 23:46:55 2013 +0000
@@ -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 -r eed06906336e -r 1cf35cd2d025 math/itpp/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/itpp/patches/patch-configure Mon Oct 28 23:46:55 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index