freebsd-ports/net/p5-IO-Interface/files/patch-Build.PL
Kurt Jaeger a02dce100e net/p5-IO-Interface: fix build on FreeBSD
Build.PL wasn't checking if it was being built on FreeBSD, OpenBSD
or NetBSD.  Or testing for the presence of two headerfiles.  So,
the compile was missing 3 compiler flags (DEFINES).

PR:		197404
Submitted by:	Lawrence Chen <beastie@tardisi.com>
2015-02-08 03:20:09 +00:00

10 lines
317 B
Perl

--- Build.PL.orig 2014-12-09 10:41:30.000000000 -0600
+++ Build.PL 2015-02-06 08:31:48.718810053 -0600
@@ -15,6 +15,7 @@
requires => {
'perl' => '5.005',
},
+ extra_compiler_flags => '-D__USE_BSD -DUSE_GETIFADDRS -DHAVE_SOCKADDR_DL_STRUCT',
);
$build->create_build_script();