summaryrefslogtreecommitdiff
path: root/devel/bison
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/bison
parentUse USE_LIBTOOL. (diff)
Don't install own copy of charset.alias - use one from libiconv instead. Bump
PORTREVISION.
Diffstat (limited to 'devel/bison')
-rw-r--r--devel/bison/Makefile27
-rw-r--r--devel/bison/files/patch-intl::Makefile.in23
-rw-r--r--devel/bison/pkg-plist1
3 files changed, 37 insertions, 14 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index d5fb066c03f3..f9c118fa8644 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/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/bison/files/patch-intl::Makefile.in b/devel/bison/files/patch-intl::Makefile.in
new file mode 100644
index 000000000000..adfc8cd770de
--- /dev/null
+++ b/devel/bison/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/bison/pkg-plist b/devel/bison/pkg-plist
index b2c3a1a5dfa4..60f7c9cd0ea1 100644
--- a/devel/bison/pkg-plist
+++ b/devel/bison/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