aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gettext-devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-24 17:57:07 +0800
committersobomax <sobomax@FreeBSD.org>2001-09-24 17:57:07 +0800
commita2600f035976c269ddb3b3629ce99280ebb180b1 (patch)
treec216f63d5053e067a68d0c82bcbb91e78d6c82bf /devel/gettext-devel
parent752661fa35d9bfb0a3d8eb93443ebc7c988eb012 (diff)
downloadfreebsd-ports-gnome-a2600f035976c269ddb3b3629ce99280ebb180b1.tar.gz
freebsd-ports-gnome-a2600f035976c269ddb3b3629ce99280ebb180b1.tar.zst
freebsd-ports-gnome-a2600f035976c269ddb3b3629ce99280ebb180b1.zip
Use bison(1) instead of yacc(1). This fixes strange problems people are having
with various ports that use msgfmt-new (`foo.po:XYZ: syntax error'). Bump PORTREVISION to indicate that the update is really necessary.
Diffstat (limited to 'devel/gettext-devel')
-rw-r--r--devel/gettext-devel/Makefile2
-rw-r--r--devel/gettext-devel/files/patch-ae13
2 files changed, 13 insertions, 2 deletions
diff --git a/devel/gettext-devel/Makefile b/devel/gettext-devel/Makefile
index aa610ffa0745..d0b010fe1925 100644
--- a/devel/gettext-devel/Makefile
+++ b/devel/gettext-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gettext
PORTVERSION= 0.10.38
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gettext
@@ -15,6 +16,7 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
+USE_BISON= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/devel/gettext-devel/files/patch-ae b/devel/gettext-devel/files/patch-ae
index 3288629e462c..cec678decbdf 100644
--- a/devel/gettext-devel/files/patch-ae
+++ b/devel/gettext-devel/files/patch-ae
@@ -1,8 +1,8 @@
$FreeBSD$
---- configure.orig Tue May 29 12:17:37 2001
-+++ configure Tue May 29 12:19:59 2001
+--- configure.orig Mon Sep 24 12:40:19 2001
++++ configure Mon Sep 24 12:44:38 2001
@@ -980,13 +980,13 @@
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
@@ -41,6 +41,15 @@ $FreeBSD$
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:1019: checking for working autoheader" >&5
+@@ -4736,7 +4736,7 @@
+ else
+ echo $ac_n "checking version of bison""... $ac_c" 1>&6
+ echo "configure:4739: checking version of bison" >&5
+- ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
++ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
@@ -4855,7 +4855,7 @@
;;
esac