diff options
author | Stefan Eßer <se@FreeBSD.org> | 2005-09-02 16:25:29 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2005-09-02 16:25:29 +0000 |
commit | 43558cad27c0ddb17629dd979caffdcf4a7e6ce0 (patch) | |
tree | 41b0a928e20de347310c56e9982f94b40edc3fec /security | |
parent | afd2edaee38413d36ea31fcaa01beff5d1b94e4c (diff) | |
download | ports-43558cad27c0ddb17629dd979caffdcf4a7e6ce0.tar.gz ports-43558cad27c0ddb17629dd979caffdcf4a7e6ce0.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/yersinia/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile index 71cbc88e8719..26098562a107 100644 --- a/security/yersinia/Makefile +++ b/security/yersinia/Makefile @@ -14,9 +14,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= se@FreeBSD.org COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...) +.include <bsd.port.pre.mk> + # Dependency on file that is not also installed by libnet (1.0.2) port! BUILD_DEPENDS= ${LOCALBASE}/share/examples/libnet/ip_raw.c:${PORTSDIR}/net/libnet-devel +.if ${OSVERSION} < 500000 +BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap +.endif + GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -30,4 +36,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${PREFIX}/man/man8/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |