Changeset View
Changeset View
Standalone View
Standalone View
sysutils/symon/Makefile
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
post-extract: | post-extract: | ||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} | @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} | ||||
post-patch: | post-patch: | ||||
# We need to teach symon about mbstat changes/removal in r253351 and r253361. | # We need to teach symon about mbstat changes/removal in r253351 and r253361. | ||||
@${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c | @${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070 | .if ${OPSYS} == FreeBSD | ||||
@${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c | @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |