Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2013 20:16:04 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318625 - in head/net-mgmt/wifimgr: . files
Message-ID:  <201305202016.r4KKG4M6033291@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Mon May 20 20:16:03 2013
New Revision: 318625
URL: http://svnweb.freebsd.org/changeset/ports/318625

Log:
  net-mgmt/wifimgr: Unbreak when NLS unset
  
  PR:		ports/178335
  Approved by:	maintainer timeout (fbsd@opal.com, 16 days)

Added:
  head/net-mgmt/wifimgr/files/
  head/net-mgmt/wifimgr/files/patch-src-Makefile   (contents, props changed)
Modified:
  head/net-mgmt/wifimgr/Makefile

Modified: head/net-mgmt/wifimgr/Makefile
==============================================================================
--- head/net-mgmt/wifimgr/Makefile	Mon May 20 20:13:53 2013	(r318624)
+++ head/net-mgmt/wifimgr/Makefile	Mon May 20 20:16:03 2013	(r318625)
@@ -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

Added: head/net-mgmt/wifimgr/files/patch-src-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/wifimgr/files/patch-src-Makefile	Mon May 20 20:16:03 2013	(r318625)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305202016.r4KKG4M6033291>