svn commit: r386067 - head/sysutils/symon
Antoine Brodin
antoine at FreeBSD.org
Mon May 11 11:23:21 UTC 2015
Author: antoine
Date: Mon May 11 11:23:20 2015
New Revision: 386067
URL: https://svnweb.freebsd.org/changeset/ports/386067
Log:
Fix build on head
Reported by: pkg-fallout
Modified:
head/sysutils/symon/Makefile
Modified: head/sysutils/symon/Makefile
==============================================================================
--- head/sysutils/symon/Makefile Mon May 11 11:22:48 2015 (r386066)
+++ head/sysutils/symon/Makefile Mon May 11 11:23:20 2015 (r386067)
@@ -59,10 +59,13 @@ MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="$
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>
More information about the svn-ports-head
mailing list