summaryrefslogtreecommitdiff
path: root/lang/mercury/patches/patch-at
blob: fb2bfbd2d60af4fc21a048091a277b544b6e6a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-at,v 1.4 2015/07/30 19:34:40 asau Exp $

Support shared libraries.
Don't capture value of HOME.

--- configure.orig	2014-09-08 08:56:03.000000000 +0400
+++ configure	2015-07-30 22:18:33.000000000 +0300
@@ -1514,7 +1514,7 @@
 By default, \`make install' will install all the files in
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
+for instance \`--prefix=\\\$HOME'.
 
 For better control, use the options below.
 
@@ -11481,7 +11481,7 @@
         EXT_FOR_SHARED_LIB=so
         EXT_FOR_LINK_WITH_PIC_OBJECTS=o
         ;;
-    i*86-*-freebsd*)
+    i*86-*-freebsd*|*-netbsd*)
         # From Cornelis van der Laan <nils@ims.uni-stuttgart.de>
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }