Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 20:29:49 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355447 - head/net-mgmt/wifimgr
Message-ID:  <201405262029.s4QKTnTP052173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon May 26 20:29:49 2014
New Revision: 355447
URL: http://svnweb.freebsd.org/changeset/ports/355447
QAT: https://qat.redports.org/buildarchive/r355447/

Log:
  net-mgmt/wifimgr: Use OPSYS when OSVERSION is used (Unbreaks DragonFly)

Modified:
  head/net-mgmt/wifimgr/Makefile

Modified: head/net-mgmt/wifimgr/Makefile
==============================================================================
--- head/net-mgmt/wifimgr/Makefile	Mon May 26 20:27:59 2014	(r355446)
+++ head/net-mgmt/wifimgr/Makefile	Mon May 26 20:29:49 2014	(r355447)
@@ -20,7 +20,7 @@ OPTIONS_DEFINE=	NLS
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} >= 901504
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 901504
 MAKE_ENV+=	INSTALL="install -U"
 .endif
 
@@ -34,7 +34,7 @@ MAKE_ENV+=	WITHOUT_NLS=${WITHOUT_NLS}
 .endif
 
 post-patch:
-.if ${OSVERSION} < 901504
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 901504
 	@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
 .endif
 



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