aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ap-utils/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-02 08:29:01 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-02 08:29:01 +0000
commit2fce41641241d5bca2930c51edcc15c05e053931 (patch)
tree307135db3f956ef8cba5f7edb0cc1557174876df /net-mgmt/ap-utils/Makefile
parentc5753380f37657f218822ec0305d0868a5e33598 (diff)
downloadports-2fce41641241d5bca2930c51edcc15c05e053931.tar.gz
ports-2fce41641241d5bca2930c51edcc15c05e053931.zip
Notes
Diffstat (limited to 'net-mgmt/ap-utils/Makefile')
-rw-r--r--net-mgmt/ap-utils/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile
index 2e4ac46b9b78..6d2b7ea24032 100644
--- a/net-mgmt/ap-utils/Makefile
+++ b/net-mgmt/ap-utils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ap-utils
-PORTVERSION= 1.4
+PORTVERSION= 1.4.1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,11 +17,18 @@ COMMENT= A set of utilities to configure and monitor wireless access points
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
-USE_GETTEXT= yes
USE_REINPLACE= yes
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib"
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure