diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-03-13 01:23:26 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-03-13 01:23:26 +0000 |
commit | 4a69d46a9b5eae4010868a423353c6abde012910 (patch) | |
tree | c29404d4079504f66b43d48058776811eaad5f60 /devel/bison2 | |
parent | bbd4540ab8b1f8a75859de78654f8929701190eb (diff) | |
download | ports-4a69d46a9b5eae4010868a423353c6abde012910.tar.gz ports-4a69d46a9b5eae4010868a423353c6abde012910.zip |
Notes
Diffstat (limited to 'devel/bison2')
-rw-r--r-- | devel/bison2/Makefile | 14 | ||||
-rw-r--r-- | devel/bison2/pkg-plist | 5 |
2 files changed, 8 insertions, 11 deletions
diff --git a/devel/bison2/Makefile b/devel/bison2/Makefile index cb97e3ad4d59..05fe515556c2 100644 --- a/devel/bison2/Makefile +++ b/devel/bison2/Makefile @@ -14,23 +14,23 @@ MASTER_SITE_SUBDIR= bison MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-included-gettext CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lintl" \ + LDFLAGS="-L${LOCALBASE}/lib" \ MAKEINFO="makeinfo --no-split" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MAN1= bison.1 post-extract: - ${RM} -f ${WRKSRC}/doc/bison.info* + @${RM} -f ${WRKSRC}/doc/bison.info* + @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e \ + 's|-liconv|-lgiconv|g ; s|iconv\.h|giconv\.h|g' post-install: - @if [ ! -f ${PREFIX}/info/dir ]; then \ - ${SED} -ne '1,/Menu:/p' \/usr\/share\/info/dir > ${PREFIX}/info/dir; \ - fi - @install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir + install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir .include <bsd.port.mk> diff --git a/devel/bison2/pkg-plist b/devel/bison2/pkg-plist index a7069cfbf822..b2c3a1a5dfa4 100644 --- a/devel/bison2/pkg-plist +++ b/devel/bison2/pkg-plist @@ -1,8 +1,8 @@ @comment $FreeBSD$ bin/bison +lib/charset.alias share/bison/bison.hairy share/bison/bison.simple -lib/charset.alias @unexec install-info --delete %D/info/bison.info %D/info/dir info/bison.info @exec install-info %D/info/bison.info %D/info/dir @@ -17,6 +17,3 @@ share/locale/ru/LC_MESSAGES/bison.mo share/locale/sv/LC_MESSAGES/bison.mo share/locale/tr/LC_MESSAGES/bison.mo @dirrm share/bison -@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/* 2>/dev/null || true -@unexec rmdir %D/share/locale 2>/dev/null || true |