summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2010-04-01 22:03:09 +0000
committerfhajny <fhajny@pkgsrc.org>2010-04-01 22:03:09 +0000
commit39101a14f25c6729fd061d26b77cd96e1456d647 (patch)
treee7e1dcfc7afaec639cc53e29d2bb179dead891ef /lang/perl5
parent6f18d56a6fe8b746cee9c4ea98bdd72458d86750 (diff)
downloadpkgsrc-39101a14f25c6729fd061d26b77cd96e1456d647.tar.gz
Resolve building problem on SunOS and SPARC.
Fix PR 40560
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile4
-rw-r--r--lang/perl5/distinfo3
-rw-r--r--lang/perl5/patches/patch-ze17
3 files changed, 21 insertions, 3 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index d6ced2c27a5..222efb46fc0 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.157 2010/03/21 16:29:40 wiz Exp $
+# $NetBSD: Makefile,v 1.158 2010/04/01 22:03:09 fhajny Exp $
.include "license.mk"
DISTNAME= perl-5.10.1
CATEGORIES= lang devel perl5
-#PKGREVISION= 1
+PKGREVISION= 1
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index c24718bbe42..f14a552c5f8 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2009/12/22 04:39:58 dsainty Exp $
+$NetBSD: distinfo,v 1.64 2010/04/01 22:03:09 fhajny Exp $
SHA1 (perl-5.10.1.tar.gz) = 8536ed1c14444d1efea069525a816fbc7be7109f
RMD160 (perl-5.10.1.tar.gz) = 6fe727a5e8878c26b5bd7cfc7165e10f311f7214
@@ -20,3 +20,4 @@ SHA1 (patch-db) = 3aef75518bfea88cb5166026f04ef4d7c016bc99
SHA1 (patch-ta) = 69f0d2df022eb8ff0dbcc77bde638cdc9c6391b1
SHA1 (patch-zc) = a23002397ffaebb243f7683c95c8fb227af90f49
SHA1 (patch-zd) = 1a4ae60e9ae350c813d8b91c61e93805b3e66210
+SHA1 (patch-ze) = 42ccdd60c8dc5c6e93ebcebd276aa5f7e60d07fe
diff --git a/lang/perl5/patches/patch-ze b/lang/perl5/patches/patch-ze
new file mode 100644
index 00000000000..50102cdc22f
--- /dev/null
+++ b/lang/perl5/patches/patch-ze
@@ -0,0 +1,17 @@
+$NetBSD: patch-ze,v 1.1 2010/04/01 22:03:09 fhajny Exp $
+
+Fixes compilation problem on Solaris/SPARC.
+
+--- perl.h.orig 2009-07-06 11:18:58.000000000 +0000
++++ perl.h
+@@ -1435,6 +1435,10 @@ EXTERN_C char *crypt(const char *, const
+ */
+
+ #if defined(I_SYSMODE) && !defined(PERL_MICRO)
++#if defined(__sun__)
++#include <sys/stat.h>
++#include <sys/vnode.h>
++#endif
+ #include <sys/mode.h>
+ #endif
+