summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-24 09:57:07 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-24 09:57:07 +0000
commit550f70304ee42ca1c653f958c3688ebf4ae6422a (patch)
tree9a4dbb2231fc0cb7b4de04e4cca755e0b9b31a6d
parento suppor Compaq C on Alpha. (diff)
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.
Notes
Notes: svn path=/head/; revision=48144
-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