aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/wifimgr
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-10-01 22:08:47 +0800
committermarino <marino@FreeBSD.org>2015-10-01 22:08:47 +0800
commitbf30c31a8c1106bc205ac7e6362d2a781121da5d (patch)
tree84c1659eef19b405b9acee2abc313498aa991c88 /net-mgmt/wifimgr
parentfc65b2052549696dd86983fdfc1e02666e9318c6 (diff)
downloadfreebsd-ports-gnome-bf30c31a8c1106bc205ac7e6362d2a781121da5d.tar.gz
freebsd-ports-gnome-bf30c31a8c1106bc205ac7e6362d2a781121da5d.tar.zst
freebsd-ports-gnome-bf30c31a8c1106bc205ac7e6362d2a781121da5d.zip
net-mgmt/wifimgr: Partially revert last to restore build on DF
The previous commit cleaned up a bit too much. The MAKE_ENV was guarded as FreeBSD-only and that guard was stripped out with the cleanup. Return the guard back but without the now-unncessary OPSYS check. This restores the build on DragonFly.
Diffstat (limited to 'net-mgmt/wifimgr')
-rw-r--r--net-mgmt/wifimgr/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index 272710dc54b6..b3fed5f667f5 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -18,7 +18,6 @@ USES= desktop-file-utils pkgconfig tar:bzip2
USE_XORG= x11
USE_GNOME= gtk20
INSTALLS_ICONS= yes
-MAKE_ENV= INSTALL="install -U"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -27,4 +26,10 @@ NLS_USES= gettext pkgconfig
NLS_CFLAGS_OFF= -DWITHOUT_NLS
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD
+MAKE_ENV= INSTALL="install -U"
+.endif
+
.include <bsd.port.mk>