svn commit: r378629 - in head/net/p5-IO-Interface: . files
Kurt Jaeger
pi at FreeBSD.org
Sun Feb 8 03:20:10 UTC 2015
Author: pi
Date: Sun Feb 8 03:20:09 2015
New Revision: 378629
URL: https://svnweb.freebsd.org/changeset/ports/378629
QAT: https://qat.redports.org/buildarchive/r378629/
Log:
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 at tardisi.com>
Added:
head/net/p5-IO-Interface/files/
head/net/p5-IO-Interface/files/patch-Build.PL (contents, props changed)
Modified:
head/net/p5-IO-Interface/Makefile
Modified: head/net/p5-IO-Interface/Makefile
==============================================================================
--- head/net/p5-IO-Interface/Makefile Sun Feb 8 02:42:51 2015 (r378628)
+++ head/net/p5-IO-Interface/Makefile Sun Feb 8 03:20:09 2015 (r378629)
@@ -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>
Added: head/net/p5-IO-Interface/files/patch-Build.PL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-IO-Interface/files/patch-Build.PL Sun Feb 8 03:20:09 2015 (r378629)
@@ -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();
More information about the svn-ports-all
mailing list