aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-08 00:11:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-08 00:11:38 +0800
commit7f0d7e8680fa1dcf3610f0486c5e256d95d78360 (patch)
treeb682e6178fb1d760620cb6e946e1bf399f70b335 /sysutils
parentdd49e89b5fad0c55a3497acff60884578e1179bd (diff)
downloadfreebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.tar.gz
freebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.tar.zst
freebsd-ports-gnome-7f0d7e8680fa1dcf3610f0486c5e256d95d78360.zip
- Remove always true OSVERSION condition
- Always check OPSYS along with OSVERSION Approved by: portmgr blanket
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/symon/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index 4a3c33555726..ce3a6364629a 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -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