blob: 887f0b80047e25d6c74d537afb235e2120beff2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.13 2011/08/22 12:58:08 wiz Exp $
Use pkgsrc's COMPILER_RPATH_FLAG variable, so this works on all pkgsrc platforms.
--- pcre-config.in.orig 2007-06-17 16:31:18.000000000 +0000
+++ pcre-config.in
@@ -12,15 +12,7 @@ if test $# -eq 0; then
exit 1
fi
-libR=
-case `uname -s` in
- *SunOS*)
- libR=" -R@libdir@"
- ;;
- *BSD*)
- libR=" -Wl,-R@libdir@"
- ;;
-esac
+libR=" @COMPILER_RPATH_FLAG@@libdir@"
while test $# -gt 0; do
case "$1" in
|