svn commit: r431267 - head/sysutils/pfstat

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jan 12 14:02:19 UTC 2017


Author: amdmi3
Date: Thu Jan 12 14:02:17 2017
New Revision: 431267
URL: https://svnweb.freebsd.org/changeset/ports/431267

Log:
  - Always check OPSYS along with OSVERSION
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/pfstat/Makefile

Modified: head/sysutils/pfstat/Makefile
==============================================================================
--- head/sysutils/pfstat/Makefile	Thu Jan 12 13:54:46 2017	(r431266)
+++ head/sysutils/pfstat/Makefile	Thu Jan 12 14:02:17 2017	(r431267)
@@ -30,7 +30,7 @@ post-patch:
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
 		${WRKSRC}/pfstat.[c8]
-.if ${OSVERSION} >= 1100070
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070
 	@${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/pf.c
 .endif
 


More information about the svn-ports-all mailing list