aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2012-03-02 21:38:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2012-03-02 21:38:59 +0000
commit487a934c67c9723089bfc607eba2d227008a1a02 (patch)
tree9a6c3d567946a3f5854b90b2b7b5f6034f379006 /net-mgmt/ettercap/Makefile
parent5e2b42b46e62d5dd052dcd9bea190037484a9a77 (diff)
downloadports-487a934c67c9723089bfc607eba2d227008a1a02.tar.gz
ports-487a934c67c9723089bfc607eba2d227008a1a02.zip
- Mark BROKEN on 7.X: does not compile
ec_send.c:37:23: error: pcap/pcap.h: No such file or directory Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=292549
Diffstat (limited to 'net-mgmt/ettercap/Makefile')
-rw-r--r--net-mgmt/ettercap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index eb4e1e5b3544..2892d1884c33 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -83,6 +83,12 @@ CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
CONFIGURE_ARGS+=--without-openssl
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+BROKEN= does not compile on FreeBSD 7.X
+.endif
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
@@ -108,4 +114,4 @@ post-install:
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>