diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-09-30 12:03:21 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-09-30 12:03:21 +0000 |
commit | a7bf8c835d2ac004527f13694a2f160271660ffa (patch) | |
tree | a2bde1a27da68cd5a2953edef82d233fb84b3b0a /net/ettercap/Makefile | |
parent | 915438437ebe70f934cedd8c837b45d7f0706658 (diff) | |
download | pkgsrc-a7bf8c835d2ac004527f13694a2f160271660ffa.tar.gz |
Make this build on NetBSD -current (using the same hack as libesmtp does,
including <des.h> if we are on -current or create a symlink in the
BUILDLINK_DIR if we don't have OpenSSL 0.9.7).
Closes PR pkg/22710 by Soren Jacobsen. Bump pkgrevision to 4.
Diffstat (limited to 'net/ettercap/Makefile')
-rw-r--r-- | net/ettercap/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile index 2606c9a5365..abaf0c0f224 100644 --- a/net/ettercap/Makefile +++ b/net/ettercap/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2003/09/28 09:13:58 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2003/09/30 12:03:21 xtraeme Exp $ DISTNAME= ettercap-0.6.9 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security net MASTER_SITES= http://ettercap.sourceforge.net/download/ @@ -18,10 +18,18 @@ USE_BUILDLINK2= yes USE_NCURSES= # newpad(), MAX_FORM_COMMAND PTHREAD_OPTS+= require MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +LIBS+= -ldes BUILD_DIRS= ${WRKSRC} ${WRKSRC}/plugins INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/plugins +post-buildlink: + if [ ! -f /usr/include/des.h ]; then \ + ${LN} -s ${BUILDLINK_DIR}/include/openssl/des.h \ + ${BUILDLINK_DIR}/include; \ + fi + .include "../../devel/ncurses/buildlink2.mk" +.include "../../security/openssl/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" .include "../../mk/bsd.pkg.mk" |