aboutsummaryrefslogtreecommitdiff
path: root/devel/bison2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-04-30 08:29:55 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-04-30 08:29:55 +0000
commit2e564be1e52f683180e5dd8fb31d3b0ece5b4be1 (patch)
tree140fd7981ab22053c5fc7b0555201eb55a51dbed /devel/bison2
parent0e76376aa160a3a2f0d99c00f56ebf2659eb0e81 (diff)
downloadports-2e564be1e52f683180e5dd8fb31d3b0ece5b4be1.tar.gz
ports-2e564be1e52f683180e5dd8fb31d3b0ece5b4be1.zip
Notes
Diffstat (limited to 'devel/bison2')
-rw-r--r--devel/bison2/Makefile27
-rw-r--r--devel/bison2/files/patch-intl::Makefile.in23
-rw-r--r--devel/bison2/pkg-plist1
3 files changed, 37 insertions, 14 deletions
diff --git a/devel/bison2/Makefile b/devel/bison2/Makefile
index d5fb066c03f3..f9c118fa8644 100644
--- a/devel/bison2/Makefile
+++ b/devel/bison2/Makefile
@@ -6,25 +6,26 @@
# $FreeBSD$
#
-PORTNAME= bison
-PORTVERSION= 1.35
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
+PORTNAME= bison
+PORTVERSION= 1.35
+PORTREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
-USE_BZIP2= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-included-gettext
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- MAKEINFO="makeinfo --no-split"
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-included-gettext
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ MAKEINFO="makeinfo --no-split"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-MAN1= bison.1
+MAN1= bison.1
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison2/files/patch-intl::Makefile.in b/devel/bison2/files/patch-intl::Makefile.in
new file mode 100644
index 000000000000..adfc8cd770de
--- /dev/null
+++ b/devel/bison2/files/patch-intl::Makefile.in
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- intl/Makefile.in 2002/04/30 08:12:35 1.1
++++ intl/Makefile.in 2002/04/30 08:13:50
+@@ -52,7 +52,7 @@
+ YFLAGS = --name-prefix=__gettext
+
+ DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
+--DLIBDIR=\"$(libdir)\" -DIN_LIBINTL @DEFS@
++-DLIBDIR=\"$(prefix)/libdata\" -DIN_LIBINTL @DEFS@
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = @CFLAGS@
+ LDFLAGS = @LDFLAGS@
+@@ -152,7 +152,7 @@
+ else \
+ : ; \
+ fi
+- if test '@USE_INCLUDED_LIBINTL@' = yes; then \
++ if test no = yes; then \
+ test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
+ temp=$(DESTDIR)$(libdir)/t-charset.alias; \
+ dest=$(DESTDIR)$(libdir)/charset.alias; \
diff --git a/devel/bison2/pkg-plist b/devel/bison2/pkg-plist
index b2c3a1a5dfa4..60f7c9cd0ea1 100644
--- a/devel/bison2/pkg-plist
+++ b/devel/bison2/pkg-plist
@@ -1,6 +1,5 @@
@comment $FreeBSD$
bin/bison
-lib/charset.alias
share/bison/bison.hairy
share/bison/bison.simple
@unexec install-info --delete %D/info/bison.info %D/info/dir