summaryrefslogtreecommitdiff
path: root/net-mgmt/wifimgr/files/patch-src-Makefile
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/wifimgr/files/patch-src-Makefile
parent- Fix build with pkgng by not trying to remove (diff)
net-mgmt/wifimgr: Unbreak when NLS unset
PR: ports/178335 Approved by: maintainer timeout (fbsd@opal.com, 16 days)
Notes
Notes: svn path=/head/; revision=318625
Diffstat (limited to '')
-rw-r--r--net-mgmt/wifimgr/files/patch-src-Makefile17
1 files changed, 17 insertions, 0 deletions
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 \