summaryrefslogtreecommitdiff
path: root/net/p5-IO-Interface/files/patch-Build.PL
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-02-08 03:20:09 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-02-08 03:20:09 +0000
commita02dce100e10cfa84feadb37efcbbd3627399d94 (patch)
tree385af0c895d3c63a375082938dd0ca0f3d3390f8 /net/p5-IO-Interface/files/patch-Build.PL
parentupdate to 4.1.1 (diff)
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>
Notes
Notes: svn path=/head/; revision=378629
Diffstat (limited to 'net/p5-IO-Interface/files/patch-Build.PL')
-rw-r--r--net/p5-IO-Interface/files/patch-Build.PL10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/p5-IO-Interface/files/patch-Build.PL b/net/p5-IO-Interface/files/patch-Build.PL
new file mode 100644
index 000000000000..713ece32177f
--- /dev/null
+++ b/net/p5-IO-Interface/files/patch-Build.PL
@@ -0,0 +1,10 @@
+--- 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();