summaryrefslogtreecommitdiff
path: root/net/p5-IO-Interface
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-IO-Interface')
-rw-r--r--net/p5-IO-Interface/Makefile4
-rw-r--r--net/p5-IO-Interface/files/patch-Build.PL10
2 files changed, 14 insertions, 0 deletions
diff --git a/net/p5-IO-Interface/Makefile b/net/p5-IO-Interface/Makefile
index 7697092c16fc..69fb8526e825 100644
--- a/net/p5-IO-Interface/Makefile
+++ b/net/p5-IO-Interface/Makefile
@@ -3,6 +3,7 @@
PORTNAME= IO-Interface
PORTVERSION= 1.09
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,4 +17,7 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= modbuild
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Interface/Interface.so
+
.include <bsd.port.mk>
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();