aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-05-11 11:23:20 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-05-11 11:23:20 +0000
commitf646cf6602b414bdd9a16d60938a972836802504 (patch)
tree06f9052b4bc48fd78b009826e964b486a17bfef8
parentd2d68f251c205dce4afc63c81dce23b79038c0fc (diff)
downloadports-f646cf6602b414bdd9a16d60938a972836802504.tar.gz
ports-f646cf6602b414bdd9a16d60938a972836802504.zip
Notes
-rw-r--r--sysutils/symon/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index e3915a532ae8..eb578d9b114a 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -59,10 +59,13 @@ MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="${LOCALBASE}" \
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+post-patch:
# We need to teach symon about mbstat changes/removal in r253351 and r253361.
.if ${OSVERSION} > 1000000
-post-patch:
@${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c
.endif
+.if ${OSVERSION} >= 1100070
+ @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c
+.endif
.include <bsd.port.post.mk>