aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-03-20 22:20:32 +0800
committermiwi <miwi@FreeBSD.org>2010-03-20 22:20:32 +0800
commit8f8385125ddfcf06ce4371ad8f512aeeedb0bccb (patch)
tree0d81245af6ff3929205cda3b458d31553bfe62f4 /security
parentb9ef8a77931f95fa56367fa0285966fc0082055d (diff)
downloadfreebsd-ports-gnome-8f8385125ddfcf06ce4371ad8f512aeeedb0bccb.tar.gz
freebsd-ports-gnome-8f8385125ddfcf06ce4371ad8f512aeeedb0bccb.tar.zst
freebsd-ports-gnome-8f8385125ddfcf06ce4371ad8f512aeeedb0bccb.zip
- Mark BROKEN on HEAD: fails to build with new utmpx
Reported by: pointyhat
Diffstat (limited to 'security')
-rw-r--r--security/chkrootkit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile
index a517b0eef84f..ebacc1ed68c2 100644
--- a/security/chkrootkit/Makefile
+++ b/security/chkrootkit/Makefile
@@ -40,6 +40,12 @@ PLIST_FILES= ${ALL_TARGET:C,^,sbin/,}
BINMODE= 0700
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
@${REINPLACE_CMD} -E "s/^(CC|CFLAGS)[^a-zA-Z]*=/\1 ?=/" \
${WRKSRC}/Makefile
@@ -57,4 +63,4 @@ do-install:
${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>