diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
commit | eb81a88093e7d71530eebb2957f8ba4317b26ee6 (patch) | |
tree | 9290c97700f22b8ed6b87a10fda7d195dac09f04 /dns | |
parent | - Use new USE_CDRTOOLS variable (diff) |
- Patch net/libnet* to versioned libraries and header files, so they can
coexist
PR: ports/103861
Submitted by: alepulver
Tested by: pointyhat
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=183770
Diffstat (limited to 'dns')
-rw-r--r-- | dns/dnshijacker/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dns/dnshijacker/Makefile b/dns/dnshijacker/Makefile index abfb07968f30..16e5685028fb 100644 --- a/dns/dnshijacker/Makefile +++ b/dns/dnshijacker/Makefile @@ -7,19 +7,21 @@ PORTNAME= dnshijacker PORTVERSION= 1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns security MASTER_SITES= http://pedram.redhive.com/downloads/ MAINTAINER= lx@redundancy.redundancy.org COMMENT= A tool to hijack DNS requests -BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 +BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 -LDFLAGS+= -lpcap -lnet +LDFLAGS+= -lpcap `${LIBNET_CONFIG} --libs` PLIST_FILES= bin/dnshijacker +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config + .if !defined(NOPORTDOCS) PORTDOCS= README .endif @@ -27,8 +29,8 @@ PORTDOCS= README do-build: cd ${WRKSRC} && \ ${CC} ${PORTNAME}.c ${CFLAGS} -I${LOCALBASE}/include \ - -L${LOCALBASE}/lib ${LDFLAGS} `libnet-config --defines` \ - `libnet-config --cflags` -o ${PORTNAME} + -L${LOCALBASE}/lib ${LDFLAGS} `${LIBNET_CONFIG} --defines` \ + `${LIBNET_CONFIG} --cflags` -o ${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${PREFIX}/bin |