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 /security/firewalk/Makefile | |
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 'security/firewalk/Makefile')
-rw-r--r-- | security/firewalk/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/security/firewalk/Makefile b/security/firewalk/Makefile index dd8e73049871..b94440e40952 100644 --- a/security/firewalk/Makefile +++ b/security/firewalk/Makefile @@ -7,7 +7,7 @@ PORTNAME= firewalk PORTVERSION= 5.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.packetfactory.net/firewalk/dist/ EXTRACT_SUFX= .tgz @@ -16,16 +16,22 @@ MAINTAINER= onatan@gmail.com COMMENT= A remote firewall auditing tool BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \ - libnet*>=1.1.2,1:${PORTSDIR}/net/libnet + ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet RUN_DEPENDS= ${BUILD_DEPENDS} WRKSRC= ${WRKDIR}/Firewalk GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`" \ LDFLAGS="-L${LOCALBASE}/lib" MAN8= firewalk.8 +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config + +post-patch: + @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/ |