aboutsummaryrefslogtreecommitdiff
path: root/sysutils/symon
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:11:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:11:38 +0000
commit496e554399fcc6ce2c4e48935ecb158b1d653f92 (patch)
treeb682e6178fb1d760620cb6e946e1bf399f70b335 /sysutils/symon
parent7aba966cef7db9df59ec405e8ff8126d6aeb5d51 (diff)
Notes
Diffstat (limited to 'sysutils/symon')
-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