svn commit: r355447 - head/net-mgmt/wifimgr

John Marino marino at FreeBSD.org
Mon May 26 20:29:50 UTC 2014


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
 


More information about the svn-ports-all mailing list