diff options
author | sno <sno@pkgsrc.org> | 2009-02-25 20:39:20 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-02-25 20:39:20 +0000 |
commit | 838940cc47288d4575b17e1bffa2a3918ebb545e (patch) | |
tree | b1d154a04023d7d95c39611eb4a816d43fd10490 /net/p5-Socket6 | |
parent | 336c284e13d00ed46a47e2b1e7d5a24043ad4c25 (diff) | |
download | pkgsrc-838940cc47288d4575b17e1bffa2a3918ebb545e.tar.gz |
- Fix build problems on any platform, where perl isn't compiled using the
compiler provided in ${CC} according to RT #14372
- tell the "right" compiler to use on AIX when PKGSRC_COMPILER=xlc
Diffstat (limited to 'net/p5-Socket6')
-rw-r--r-- | net/p5-Socket6/Makefile | 9 | ||||
-rw-r--r-- | net/p5-Socket6/distinfo | 3 | ||||
-rw-r--r-- | net/p5-Socket6/patches/patch-aa | 10 |
3 files changed, 20 insertions, 2 deletions
diff --git a/net/p5-Socket6/Makefile b/net/p5-Socket6/Makefile index 8db85474f1f..7464024a272 100644 --- a/net/p5-Socket6/Makefile +++ b/net/p5-Socket6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2008/11/05 15:25:34 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2009/02/25 20:39:20 sno Exp $ # DISTNAME= Socket6-0.23 @@ -22,5 +22,12 @@ BUILD_DEFS+= IPV6_READY USE_LANGUAGES= c MAKE_ENV+= CCFLAGS="${CFLAGS} ${CPPFLAGS}" +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "AIX" && ${PKGSRC_COMPILER} == "xlc" +MAKE_ENV+= CC="cc_r" +.endif +cc=cc_r + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/p5-Socket6/distinfo b/net/p5-Socket6/distinfo index e9f8ac6077f..2acb7f0353d 100644 --- a/net/p5-Socket6/distinfo +++ b/net/p5-Socket6/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2008/11/05 14:58:20 wiz Exp $ +$NetBSD: distinfo,v 1.10 2009/02/25 20:39:20 sno Exp $ SHA1 (Socket6-0.23.tar.gz) = f6598055e40d71fe3bab9881d38995f8677ee90a RMD160 (Socket6-0.23.tar.gz) = c45f3024e64cd3b1d43226fdc44f1f7dd54ddcaf Size (Socket6-0.23.tar.gz) = 57859 bytes +SHA1 (patch-aa) = e62617f27b3fda22e62d1e383535c1e003a070f1 diff --git a/net/p5-Socket6/patches/patch-aa b/net/p5-Socket6/patches/patch-aa new file mode 100644 index 00000000000..a88bbd73e46 --- /dev/null +++ b/net/p5-Socket6/patches/patch-aa @@ -0,0 +1,10 @@ +--- Makefile.PL.orig 2008-11-14 20:14:49.000000000 +0100 ++++ Makefile.PL 2008-11-14 20:15:01.000000000 +0100 +@@ -46,7 +46,6 @@ + MAN3PODS => {}, # Pods will be built by installman. + XSPROTOARG => '-noprototypes', # XXX remove later? + PM => {'Socket6.pm' => '$(INST_LIBDIR)/Socket6.pm'}, +- CONFIGURE => sub { { CC => "${cc}" } }, + LIBS => ["${libs}"], + realclean => {FILES => 'config.cache config.h config.log config.pl config.status gailookup.pl'}, + ); |