opnsense-ports/net/p5-Net-Pcap/files/patch-Makefile.PL
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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) {