aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-03-20 14:20:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-03-20 14:20:32 +0000
commitf29016bb0c2ecf3fcc4fb0da9e3769b81e731635 (patch)
tree012ac35d4d6c0beb8360a91bdbc3e3e9c046e4bf /security
parent378fc70b8771210e6c9ea795708a611e175a7adc (diff)
downloadports-f29016bb0c2ecf3fcc4fb0da9e3769b81e731635.tar.gz
ports-f29016bb0c2ecf3fcc4fb0da9e3769b81e731635.zip
Notes
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>