diff options
author | knu <knu@FreeBSD.org> | 2002-09-11 12:09:47 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-11 12:09:47 +0800 |
commit | a0be72ba419297de07210351e3e19c7806978b5e (patch) | |
tree | 28a74cc9db9051c2b01ee59f7ac78b0aeb8e0425 /lang/gawk | |
parent | 228ea6c2a24770267905cdf891b9ac76b7369640 (diff) | |
download | freebsd-ports-gnome-a0be72ba419297de07210351e3e19c7806978b5e.tar.gz freebsd-ports-gnome-a0be72ba419297de07210351e3e19c7806978b5e.tar.zst freebsd-ports-gnome-a0be72ba419297de07210351e3e19c7806978b5e.zip |
On recent 5-CURRENT, stop configure from detecting wchar support,
since gawk fails to build with wchar/mbstring support due to lack of
wcscoll().
Approved by: dd (MAINTAINER)
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/Makefile | 8 | ||||
-rw-r--r-- | lang/gawk/files/extra-patch-nowchar | 11 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 6629f568252f..be3ebfc6dfb4 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -14,6 +14,12 @@ MAINTAINER= dd@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500039 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nowchar +.endif + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ --with-libintl-prefix=${LOCALBASE} @@ -21,4 +27,4 @@ MAN1= gawk.1 igawk.1 PLIST_SUB= VERSION=${PORTVERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/lang/gawk/files/extra-patch-nowchar b/lang/gawk/files/extra-patch-nowchar new file mode 100644 index 000000000000..2ca72233ddaa --- /dev/null +++ b/lang/gawk/files/extra-patch-nowchar @@ -0,0 +1,11 @@ +--- configure.orig Mon Apr 29 23:36:47 2002 ++++ configure Wed Sep 11 02:22:41 2002 +@@ -4789,7 +4789,7 @@ + for ac_hdr in fcntl.h limits.h locale.h libintl.h mcheck.h \ + netdb.h netinet/in.h signum.h stdarg.h string.h \ + sys/param.h sys/socket.h sys/time.h unistd.h \ +- wchar.h wctype.h ++ + do + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |