From 3cb566fa5138330d6046f75bded2c2e15f1dd640 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 18 Nov 2003 22:32:06 +0000 Subject: - Use system gettext instead of bundled one. PR: ports/58513 Submitted by: Simon Barner Approved by: marcus (backup mentor) --- net-mgmt/ap-utils/Makefile | 7 ++++++- net-mgmt/ap-utils/pkg-plist | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'net-mgmt/ap-utils') diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile index 8ddb69596186..1d6cf0ffcd90 100644 --- a/net-mgmt/ap-utils/Makefile +++ b/net-mgmt/ap-utils/Makefile @@ -7,7 +7,7 @@ PORTNAME= ap-utils PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,8 +19,13 @@ LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes USE_BZIP2= yes +USE_REINPLACE= yes +CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8 +post-patch: + @${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure + .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${DOCSDIR} diff --git a/net-mgmt/ap-utils/pkg-plist b/net-mgmt/ap-utils/pkg-plist index f20755451155..502cda3011d5 100644 --- a/net-mgmt/ap-utils/pkg-plist +++ b/net-mgmt/ap-utils/pkg-plist @@ -1,7 +1,6 @@ bin/ap-config bin/ap-mrtg sbin/ap-trapd -lib/charset.alias share/locale/uk/LC_MESSAGES/ap-utils.mo share/locale/fr/LC_MESSAGES/ap-utils.mo share/locale/pl/LC_MESSAGES/ap-utils.mo -- cgit v1.2.3