pkgsrc/devel/pcre/patches/patch-aa
joerg 39ef0d8232 Fix pcre-config to always output the rpath for ${prefix}/lib based
on COMPILER_RPATH_FLAG. Before it hard-wired Solaris and *BSD, now
it works everywhere. Bump revision.
2007-06-17 17:05:08 +00:00

21 lines
396 B
Text

$NetBSD: patch-aa,v 1.12 2007/06/17 17:05:08 joerg Exp $
--- 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