summaryrefslogtreecommitdiff
path: root/devel/bison1875/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-03-13 01:23:26 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-03-13 01:23:26 +0000
commit4a69d46a9b5eae4010868a423353c6abde012910 (patch)
treec29404d4079504f66b43d48058776811eaad5f60 /devel/bison1875/Makefile
parentmirrors.rcn.net reorged. (diff)
This requires ngettext().
XXX Explicitly build with included libintl for now. PR: 35653
Notes
Notes: svn path=/head/; revision=55973
Diffstat (limited to 'devel/bison1875/Makefile')
-rw-r--r--devel/bison1875/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/bison1875/Makefile b/devel/bison1875/Makefile
index cb97e3ad4d59..05fe515556c2 100644
--- a/devel/bison1875/Makefile
+++ b/devel/bison1875/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>