Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2015 11:23:20 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386067 - head/sysutils/symon
Message-ID:  <201505111123.t4BBNKep092174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505111123.t4BBNKep092174>