mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 21:00:30 -04:00
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)
This commit is contained in:
parent
21b00c4d9a
commit
f106a0addf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66103
2 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
|
11
lang/gawk/files/extra-patch-nowchar
Normal file
11
lang/gawk/files/extra-patch-nowchar
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue