summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-11-29 12:59:31 +0000
committerjoerg <joerg>2013-11-29 12:59:31 +0000
commit17a5dbe0e8e1172fe924d7e046119a0b0e0daf9a (patch)
tree46abe1c4d8f95c5a6959d27603a9fa34857f1d77
parent1a5355ffe4f793233e49371f769df16328cb8c18 (diff)
downloadpkgsrc-17a5dbe0e8e1172fe924d7e046119a0b0e0daf9a.tar.gz
Fix extraction of rpath options from Fortran linker.
-rw-r--r--math/ipopt/distinfo4
-rw-r--r--math/ipopt/patches/patch-Ipopt_configure18
-rw-r--r--math/ipopt/patches/patch-ThirdParty_HSLold_configure18
3 files changed, 39 insertions, 1 deletions
diff --git a/math/ipopt/distinfo b/math/ipopt/distinfo
index f653643bc7b..6c3c520c52f 100644
--- a/math/ipopt/distinfo
+++ b/math/ipopt/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2013/11/14 15:04:12 asau Exp $
+$NetBSD: distinfo,v 1.2 2013/11/29 12:59:31 joerg Exp $
SHA1 (Ipopt-3.11.5.tgz) = 66e3ae03179ba7541a478d185b256f336159fc6d
RMD160 (Ipopt-3.11.5.tgz) = 9fc02e86f9d69a85e77c492ade30df23dba8afc7
Size (Ipopt-3.11.5.tgz) = 4743371 bytes
+SHA1 (patch-Ipopt_configure) = a8737f537b8638a71d65d83658770826bfefc5e6
+SHA1 (patch-ThirdParty_HSLold_configure) = e4993ba13c1c84a4d83992c3ce0c58a500af7462
diff --git a/math/ipopt/patches/patch-Ipopt_configure b/math/ipopt/patches/patch-Ipopt_configure
new file mode 100644
index 00000000000..00b7d146f57
--- /dev/null
+++ b/math/ipopt/patches/patch-Ipopt_configure
@@ -0,0 +1,18 @@
+$NetBSD: patch-Ipopt_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $
+
+--- Ipopt/configure.orig 2013-11-28 03:29:00.000000000 +0000
++++ Ipopt/configure
+@@ -5180,7 +5180,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
diff --git a/math/ipopt/patches/patch-ThirdParty_HSLold_configure b/math/ipopt/patches/patch-ThirdParty_HSLold_configure
new file mode 100644
index 00000000000..63edd0686be
--- /dev/null
+++ b/math/ipopt/patches/patch-ThirdParty_HSLold_configure
@@ -0,0 +1,18 @@
+$NetBSD: patch-ThirdParty_HSLold_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $
+
+--- ThirdParty/HSLold/configure.orig 2013-11-28 03:27:10.000000000 +0000
++++ ThirdParty/HSLold/configure
+@@ -4475,7 +4475,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