From a502ed451950b81daf9b7a5de8fdab035b097303 Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 12 Dec 2007 14:34:58 +0000 Subject: Fix a bug in the configure script that prevents it from working on NetBSD 3.0. Found by gavan@. --- devel/monotone/patches/patch-aa | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'devel/monotone') diff --git a/devel/monotone/patches/patch-aa b/devel/monotone/patches/patch-aa index c8297c2f7b9..e281efa838b 100644 --- a/devel/monotone/patches/patch-aa +++ b/devel/monotone/patches/patch-aa @@ -1,8 +1,21 @@ -$NetBSD: patch-aa,v 1.16 2007/10/26 14:08:25 jmmv Exp $ +$NetBSD: patch-aa,v 1.17 2007/12/12 14:34:58 jmmv Exp $ ---- configure.orig 2007-10-26 10:31:46.000000000 +0200 +--- configure.orig 2007-10-26 00:41:00.000000000 +0200 +++ configure -@@ -12100,7 +12102,7 @@ echo $ECHO_N "checking for PCRE using pc +@@ -11879,9 +11879,9 @@ fi + # Check whether --with-system-pcre was given. + if test "${with_system_pcre+set}" = set; then + withval=$with_system_pcre; case "$withval" in +- (""|yes) with_system_pcre=yes ;; +- (no) with_system_pcre=no ;; +- (*) { { echo "$as_me:$LINENO: error: --with(out)-system-pcre takes no argument" >&5 ++ ""|yes) with_system_pcre=yes ;; ++ no) with_system_pcre=no ;; ++ *) { { echo "$as_me:$LINENO: error: --with(out)-system-pcre takes no argument" >&5 + echo "$as_me: error: --with(out)-system-pcre takes no argument" >&2;} + { (exit 1); exit 1; }; } ;; + esac +@@ -12100,7 +12100,7 @@ echo $ECHO_N "checking for PCRE using pc # automatically. PCRE_LIBS="`pcre-config --libs | \ sed -e 's:-L */usr/lib/*::' -e 's:-R */usr/lib/*::' \ -- cgit v1.2.3