aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-18 22:32:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-18 22:32:06 +0000
commit3cb566fa5138330d6046f75bded2c2e15f1dd640 (patch)
tree308d2ebb4296c6fed1ea28d3e02933a1fce729d3 /net-mgmt
parent8dcc0926039bc9916f88ea45b10b04fc0fd919c8 (diff)
downloadports-3cb566fa5138330d6046f75bded2c2e15f1dd640.tar.gz
ports-3cb566fa5138330d6046f75bded2c2e15f1dd640.zip
- Use system gettext instead of bundled one.
PR: ports/58513 Submitted by: Simon Barner <barner@in.tum.de> Approved by: marcus (backup mentor)
Notes
Notes: svn path=/head/; revision=94300
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ap-utils/Makefile7
-rw-r--r--net-mgmt/ap-utils/pkg-plist1
2 files changed, 6 insertions, 2 deletions
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