aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/chkrootkit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile
index 8a264424587f..f58f906cc250 100644
--- a/security/chkrootkit/Makefile
+++ b/security/chkrootkit/Makefile
@@ -21,6 +21,12 @@ DOCFILES= COPYRIGHT README README.chklastlog README.chkwtmp
BINMODE= 0700
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+IGNORE= "Reports false positives on 5.x"
+.endif
+
pre-patch:
${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile
${REINPLACE_CMD} -e \
@@ -47,4 +53,4 @@ do-install:
${INSTALL_DATA} ${DOCFILES:C,^,${WRKSRC}/,} ${PREFIX}/share/doc/chkrootkit
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>