freebsd-ports/net/p5-Net-Pcap/files/patch-Makefile.PL
Cheng-Lung Sung 381bc10eb5 - pat when net/libpcap installed
- bug observed in freebsd-perl@
- bump PORTREVISION
- take maintainership
2007-12-30 09:08:23 +00:00

10 lines
329 B
Perl

--- 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) {