aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ap-utils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-19 06:32:06 +0800
committerpav <pav@FreeBSD.org>2003-11-19 06:32:06 +0800
commit63c9733b8fa3890aaa78adb247e46fb1e82ab781 (patch)
tree44642863c57081c776dd40dff9fccd53c15a0970 /net-mgmt/ap-utils
parenta1f9762fcc1ff1ebed9f69bdc6deafb58d383f04 (diff)
downloadfreebsd-ports-graphics-63c9733b8fa3890aaa78adb247e46fb1e82ab781.tar.gz
freebsd-ports-graphics-63c9733b8fa3890aaa78adb247e46fb1e82ab781.tar.zst
freebsd-ports-graphics-63c9733b8fa3890aaa78adb247e46fb1e82ab781.zip
- Use system gettext instead of bundled one.
PR: ports/58513 Submitted by: Simon Barner <barner@in.tum.de> Approved by: marcus (backup mentor)
Diffstat (limited to 'net-mgmt/ap-utils')
-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 8ddb6959618..1d6cf0ffcd9 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 f2075545115..502cda3011d 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