mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- pat when net/libpcap installed
- bug observed in freebsd-perl@ - bump PORTREVISION - take maintainership
This commit is contained in:
parent
310aa56a76
commit
381bc10eb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204692
@ -7,11 +7,12 @@
|
||||
|
||||
PORTNAME= Net-Pcap
|
||||
PORTVERSION= 0.15
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= Interface to pcap(3) LBL packet capture library
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface
|
||||
@ -24,8 +25,4 @@ MAN3= Net::Pcap.3
|
||||
pre-patch:
|
||||
${FIND} ${WRKSRC} -name "._Pcap.pm" -delete
|
||||
|
||||
do-patch:
|
||||
@${REINPLACE_CMD} -e "s#cc_r =>#cc => '-o', cc_r =>#" \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
net/p5-Net-Pcap/files/patch-Makefile.PL
Normal file
10
net/p5-Net-Pcap/files/patch-Makefile.PL
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.PL.orig 2007-12-02 10:23:04.000000000 +0800
|
||||
+++ Makefile.PL 2007-12-30 17:01:30.000000000 +0800
|
||||
@@ -23,6 +23,7 @@
|
||||
} else {
|
||||
$options{CCFLAGS} = '-Wall' if $Config{cc} eq 'gcc' and $] >= 5.006;
|
||||
$options{LIBS} = '-lpcap';
|
||||
+ $options{DEFINE} = '-DHAVE_PCAP_LIST_DATALINKS';
|
||||
}
|
||||
|
||||
for my $arg (@ARGV) {
|
Loading…
Reference in New Issue
Block a user