diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-15 20:09:18 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-15 20:09:18 +0000 |
commit | 281dd575ad2fb4b570e9db426583b26017163904 (patch) | |
tree | be55c8187e25aaeb141b25ecaabe48434f5f57eb /net/ngrep | |
parent | a732607ff36670968b0d20a71009d29d26d5a6fe (diff) | |
download | ports-281dd575ad2fb4b570e9db426583b26017163904.tar.gz ports-281dd575ad2fb4b570e9db426583b26017163904.zip |
Notes
Diffstat (limited to 'net/ngrep')
-rw-r--r-- | net/ngrep/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile index 6bb4ff555ef9..b10d21095e95 100644 --- a/net/ngrep/Makefile +++ b/net/ngrep/Makefile @@ -42,13 +42,19 @@ CONFIGURE_ARGS+= --enable-pcre CONFIGURE_ARGS+= --with-pcap-includes=/usr/include .else CONFIGURE_ARGS+= --with-pcap-includes=${LOCALBASE}/include -LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap +BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap .endif .if !defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif +post-patch: +.if defined(WITH_PORTS_PCAP) + @${REINPLACE_CMD} -e "s|-lpcap|${LOCALBASE}/lib/libpcap.a|g" \ + ${WRKSRC}/Makefile.in ${WRKSRC}/configure +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |