svn commit: r437940 - head/sysutils/symon

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 7 16:11:39 UTC 2017


Author: amdmi3
Date: Fri Apr  7 16:11:38 2017
New Revision: 437940
URL: https://svnweb.freebsd.org/changeset/ports/437940

Log:
  - Remove always true OSVERSION condition
  - Always check OPSYS along with OSVERSION
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/symon/Makefile

Modified: head/sysutils/symon/Makefile
==============================================================================
--- head/sysutils/symon/Makefile	Fri Apr  7 16:10:01 2017	(r437939)
+++ head/sysutils/symon/Makefile	Fri Apr  7 16:11:38 2017	(r437940)
@@ -60,10 +60,8 @@ post-extract:
 
 post-patch:
 # We need to teach symon about mbstat changes/removal in r253351 and r253361.
-.if ${OSVERSION} > 1000000
 	@${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c
-.endif
-.if ${OSVERSION} >= 1100070
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070
 	@${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c
 .endif
 


More information about the svn-ports-head mailing list