diff options
author | naddy <naddy@FreeBSD.org> | 2002-03-13 09:23:26 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-03-13 09:23:26 +0800 |
commit | a967e47b07266e7a6cc0abff15c97d15588f5016 (patch) | |
tree | fffd921855a923abff8711f404af450cbdefc2e1 /devel/bison2 | |
parent | a19ce0766432eda4d3b03318ee91c96a96deb6cc (diff) | |
download | freebsd-ports-gnome-a967e47b07266e7a6cc0abff15c97d15588f5016.tar.gz freebsd-ports-gnome-a967e47b07266e7a6cc0abff15c97d15588f5016.tar.zst freebsd-ports-gnome-a967e47b07266e7a6cc0abff15c97d15588f5016.zip |
This requires ngettext().
XXX Explicitly build with included libintl for now.
PR: 35653
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 |