aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2010-01-23 03:05:13 +0800
committerehaupt <ehaupt@FreeBSD.org>2010-01-23 03:05:13 +0800
commitc72461168f63ee9571dd0025faa6a88958fc7040 (patch)
tree74540c0857301b2747e498ec59f7fcde7c23613a /sysutils
parentcf5ce99a0b2df38416139487a238cc60fe016cca (diff)
downloadfreebsd-ports-graphics-c72461168f63ee9571dd0025faa6a88958fc7040.tar.gz
freebsd-ports-graphics-c72461168f63ee9571dd0025faa6a88958fc7040.tar.zst
freebsd-ports-graphics-c72461168f63ee9571dd0025faa6a88958fc7040.zip
Fix utmpx fallout
Notified by: pointyhat (via erwin), ed
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wuzzah/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/wuzzah/Makefile b/sysutils/wuzzah/Makefile
index 8533e30b036..3dae08bb4a4 100644
--- a/sysutils/wuzzah/Makefile
+++ b/sysutils/wuzzah/Makefile
@@ -20,12 +20,18 @@ MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/wuzzah
MAN1= wuzzah.1
+.include <bsd.port.pre.mk>
+
post-patch:
- @${REINPLACE_CMD} -e '/^CFLAGS/d' \
+.if ${OSVERSION} >= 900007
+ @${REINPLACE_CMD} -e '/^CFLAGS/d' -e 's|^\(SUBDIRS.*\)utmpx|\1|p' \
${WRKSRC}/Makefile.in
+.else
+ @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile.in
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>