convert to use buildlink2 and include libpcap/buildlink2.mk to handle this correctly. Also fix network library problems on Solaris. From pkg/22915 by Jonathan Perkin.
21 lines
425 B
Makefile
21 lines
425 B
Makefile
# $NetBSD: Makefile,v 1.8 2003/10/06 07:53:04 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= sniff-2.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= zuntum@NetBSD.org
|
|
COMMENT= Program to sniff logins and passwords
|
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
LIBS+= -lsocket -lnsl
|
|
MAKE_ENV+= LIBS="${LIBS}"
|
|
.endif
|
|
|
|
.include "../../net/libpcap/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|