summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/oops/files/libpcreposix.patch')
-rw-r--r--net-proxy/oops/files/libpcreposix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-proxy/oops/files/libpcreposix.patch b/net-proxy/oops/files/libpcreposix.patch
new file mode 100644
index 000000000000..1648ecabb152
--- /dev/null
+++ b/net-proxy/oops/files/libpcreposix.patch
@@ -0,0 +1,19 @@
+diff -Nru oops-1.5.23.orig/configure.in oops-1.5.23/configure.in
+--- oops-1.5.23.orig/configure.in 2007-11-20 22:47:27.000000000 +0200
++++ oops-1.5.23/configure.in 2007-11-20 22:58:42.000000000 +0200
+@@ -454,14 +454,7 @@
+ AC_DEFINE(REGEX_H, <regex.h>)
+ ;;
+ pcre)
+- if test -r "/usr/lib/libpcreposix.a" -a -r "/usr/lib/libpcre.a"; then
+- LIBS="$LIBS /usr/lib/libpcreposix.a /usr/lib/libpcre.a"
+- elif test -r "/usr/local/lib/libpcreposix.a" -a -r "/usr/local/lib/libpcre.a"; then
+- LIBS="$LIBS /usr/local/lib/libpcreposix.a /usr/local/lib/libpcre.a"
+- fi
+- if test "X`echo $CFLAGS | grep '\-I/usr/local/include'`" = "X"; then
+- CFLAGS="$CFLAGS -I/usr/local/include"
+- fi
++ LIBS="$LIBS -lpcreposix"
+ AC_DEFINE(REGEX_H, <pcreposix.h>)
+ ;;
+ builtin)