diff options
author | clsung <clsung@FreeBSD.org> | 2007-12-30 17:08:23 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-12-30 17:08:23 +0800 |
commit | f990d56422c7e7c535d53862ca1d95e1e1b8fbf0 (patch) | |
tree | f7bdd829085e7f54097f856da16cd43b10d5e7e4 /net | |
parent | aa92f928a49d1bc5255b8e453792dfa0ae59fc73 (diff) | |
download | freebsd-ports-graphics-f990d56422c7e7c535d53862ca1d95e1e1b8fbf0.tar.gz freebsd-ports-graphics-f990d56422c7e7c535d53862ca1d95e1e1b8fbf0.tar.zst freebsd-ports-graphics-f990d56422c7e7c535d53862ca1d95e1e1b8fbf0.zip |
- pat when net/libpcap installed
- bug observed in freebsd-perl@
- bump PORTREVISION
- take maintainership
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Pcap/Makefile | 7 | ||||
-rw-r--r-- | net/p5-Net-Pcap/files/patch-Makefile.PL | 10 |
2 files changed, 12 insertions, 5 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile index a4be23b7278..f4c0baf2fc0 100644 --- a/net/p5-Net-Pcap/Makefile +++ b/net/p5-Net-Pcap/Makefile @@ -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> diff --git a/net/p5-Net-Pcap/files/patch-Makefile.PL b/net/p5-Net-Pcap/files/patch-Makefile.PL new file mode 100644 index 00000000000..a1a3b2fc76e --- /dev/null +++ b/net/p5-Net-Pcap/files/patch-Makefile.PL @@ -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) { |