summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-05-08 03:14:25 +0000
committersbd <sbd@pkgsrc.org>2012-05-08 03:14:25 +0000
commitac713c2e52333ceadfa4833dea89a5df308d1a91 (patch)
tree18116ec713174248b5a83ad432d80984ad1ec3dc /lang
parentbf8858857d47baca60936ba317cd3f629a96cb41 (diff)
downloadpkgsrc-ac713c2e52333ceadfa4833dea89a5df308d1a91.tar.gz
Use ${host_alias} in path names so they match ${MACHINE_GNU_PLATFORM}
(E.g. *-linux-gnu vs. *-linux)
Diffstat (limited to 'lang')
-rw-r--r--lang/g95/patches/patch-libf95.a-0.92_configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/g95/patches/patch-libf95.a-0.92_configure b/lang/g95/patches/patch-libf95.a-0.92_configure
new file mode 100644
index 00000000000..564806aa430
--- /dev/null
+++ b/lang/g95/patches/patch-libf95.a-0.92_configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-libf95.a-0.92_configure,v 1.1 2012/05/08 03:14:25 sbd Exp $
+
+Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM}
+
+--- libf95.a-0.92/configure.orig 2008-09-17 04:06:15.000000000 +0000
++++ libf95.a-0.92/configure
+@@ -7470,7 +7470,7 @@ fi
+ { echo "$as_me:$LINENO: result: $gcc_version" >&5
+ echo "${ECHO_T}$gcc_version" >&6; }
+
+-DEST_LIBDIR=$prefix/lib/gcc-lib/$host/$gcc_version
++DEST_LIBDIR=$prefix/lib/gcc-lib/$host_alias/$gcc_version
+
+
+