openbsd-ports/devel/flex/patches/patch-configure
sthen c36bb94a5a Import devel/flex. This is flex v2.5.35, which uses m4 to generate the
scanners and is a required dependency to update a number of ports.

Following analysis of bulk build and base build logs with this done as
an update to /usr/src/usr.bin/lex mostly over p2k9 it's clear this has
incompatibilities with existing scanners (including minor SUS breakage)
so at this time it's being imported as a port rather than updating base.

Port originally from Brad with some changes by myself (executable
file now named gflex, and use base m4 not GNU m4 - requires /usr/bin/m4
with -P support; 2009/10/14 or newer).

Discussed with and requested by many. ok ajacoutot, jasper, Brad.
2009-10-28 23:13:56 +00:00

39 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2009/10/28 23:13:56 sthen Exp $
--- configure.orig Tue Feb 26 21:34:02 2008
+++ configure Tue Jun 9 20:51:58 2009
@@ -4651,6 +4651,9 @@ _ACEOF
+LIBICONV=$LTLIBICONV
+LIBINTL=$LTLIBINTL
+INTLLIBS=$LTLIBINTL
for ac_prog in 'bison -y' byacc
do
@@ -6602,15 +6605,15 @@ test -n "$M4" || M4="m4"
if test x"$M4" != x; then
echo "$as_me:$LINENO: checking for GNU m4" >&5
echo $ECHO_N "checking for GNU m4... $ECHO_C" >&6
- case `$M4 --help < /dev/null 2>&1` in
- *prefix-builtins*) echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6 ;;
- *) echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6 ;
- { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
-echo "$as_me: error: GNU M4 1.4 is required" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
+# case `$M4 --help < /dev/null 2>&1` in
+# *prefix-builtins*) echo "$as_me:$LINENO: result: yes" >&5
+#echo "${ECHO_T}yes" >&6 ;;
+# *) echo "$as_me:$LINENO: result: no" >&5
+#echo "${ECHO_T}no" >&6 ;
+# { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
+#echo "$as_me: error: GNU M4 1.4 is required" >&2;}
+# { (exit 1); exit 1; }; } ;;
+# esac
else
{ { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
echo "$as_me: error: GNU M4 1.4 is required" >&2;}