Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 14:02:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431267 - head/sysutils/pfstat
Message-ID:  <201701121402.v0CE2IF3091125@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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