aboutsummaryrefslogtreecommitdiff
path: root/ports/nettle/fix-InstallLibPath.patch
blob: d42a280679d4b21062bec1286f032aadd9711163 (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
26
27
28
29
30
31
32
33
34
35
36
diff --git a/configure.ac b/configure.ac
index 90ea1ea..58cfe88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -354,25 +354,25 @@ if test "x$ABI" != xstandard ; then
 	else
 	  # The dash builtin pwd tries to be "helpful" and remember
 	  # symlink names. Use -P option, and hope it's portable enough.
-	  test -d /usr/lib${ABI} \
-	    && (cd /usr/lib${ABI} && pwd -P | grep >/dev/null "/lib${ABI}"'$') \
-	    && libdir='${exec_prefix}/'"lib${ABI}"
+	  test -d /usr/lib \
+	    && (cd /usr/lib && pwd -P | grep >/dev/null "/lib"'$') \
+	    && libdir='${exec_prefix}/'"lib"
 	fi
 	;;
       # On freebsd, it seems 32-bit libraries are in lib32,
       # and 64-bit in lib. Don't know about "kfreebsd", does
       # it follow the Linux fhs conventions?
       *:freebsd*:32)
-	libdir='${exec_prefix}/lib32'
+	libdir='${exec_prefix}/lib'
 	;;
       *:freebsd*:64)
 	libdir='${exec_prefix}/lib'
 	;;
       *:irix*:32)
-	libdir='${exec_prefix}/lib32'
+	libdir='${exec_prefix}/lib'
 	;;
       *:irix*:64)
-	libdir='${exec_prefix}/lib64'
+	libdir='${exec_prefix}/lib'
 	;;
       *)
         AC_MSG_WARN([Don't know where to install $ABI-bit libraries on this system.]); dnl '