aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-05-20 20:16:03 +0000
committerChris Rees <crees@FreeBSD.org>2013-05-20 20:16:03 +0000
commit2b62ed335f9f7506dd4120bcf4865d793d4707d1 (patch)
treecb3ffedc27e322c7dd9eebf079793eb101e68270 /net-mgmt
parent082e0e3eac7665e2fb22ee9c62db1ce18414e2e4 (diff)
downloadports-2b62ed335f9f7506dd4120bcf4865d793d4707d1.tar.gz
ports-2b62ed335f9f7506dd4120bcf4865d793d4707d1.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/wifimgr/Makefile3
-rw-r--r--net-mgmt/wifimgr/files/patch-src-Makefile17
2 files changed, 19 insertions, 1 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index 3d877e19c9f2..e1f86b36335f 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -20,11 +20,12 @@ INSTALLS_ICONS= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
+USES+= gettext pkgconfig
PLIST_SUB+= NLS=""
.else
CFLAGS+= -DWITHOUT_NLS
PLIST_SUB+= NLS="@comment "
+MAKE_ENV+= WITHOUT_NLS=${WITHOUT_NLS}
.endif
MAN8= wifimgr.8
diff --git a/net-mgmt/wifimgr/files/patch-src-Makefile b/net-mgmt/wifimgr/files/patch-src-Makefile
new file mode 100644
index 000000000000..d6434aa933d9
--- /dev/null
+++ b/net-mgmt/wifimgr/files/patch-src-Makefile
@@ -0,0 +1,17 @@
+--- src/Makefile.orig 2013-05-04 10:02:37.072273048 +0100
++++ src/Makefile 2013-05-04 10:02:40.231274484 +0100
+@@ -49,12 +49,14 @@
+ ${PREFIX}/share/icons/hicolor/64x64/apps/wifimgr.png \
+ ${PREFIX}/share/icons/hicolor/scalable/apps/wifimgr.svg
+
++.ifndef WITHOUT_NLS
+ langs = ${PREFIX}/share/locale/bg/LC_MESSAGES/wifimgr.mo \
+ ${PREFIX}/share/locale/de/LC_MESSAGES/wifimgr.mo \
+ ${PREFIX}/share/locale/fr/LC_MESSAGES/wifimgr.mo \
+ ${PREFIX}/share/locale/ja/LC_MESSAGES/wifimgr.mo \
+ ${PREFIX}/share/locale/nl/LC_MESSAGES/wifimgr.mo \
+ ${PREFIX}/share/locale/ru/LC_MESSAGES/wifimgr.mo
++.endif
+
+ installed = ${PREFIX}/bin/wifimgr \
+ ${PREFIX}/libexec/wifimgrsu \