Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/oops/files: libpcreposix.patch
Date: Tue, 20 Nov 2007 21:08:23
Message-Id: E1IuaKP-0007M2-7D@stork.gentoo.org
mrness      07/11/20 21:08:17

  Added:                libpcreposix.patch
  Log:
  Link with -lpcreposix instead libpcreposix.a (#199535).
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.1                  net-proxy/oops/files/libpcreposix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/oops/files/libpcreposix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/oops/files/libpcreposix.patch?rev=1.1&content-type=text/plain

Index: libpcreposix.patch
===================================================================
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)



-- 
gentoo-commits@g.o mailing list