pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on Solaris 10 (amd64) with Sun Studio 10)
The following reply was made to PR pkg/31985; it has been noted by GNATS.
From: NAKAJI Hiroyuki <nakaji%jp.FreeBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: jlam%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost,
dholland%NetBSD.org@localhost
Subject: Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on Solaris 10
(amd64) with Sun Studio 10)
Date: Fri, 20 Nov 2009 15:48:00 +0900
>>>>> In <20091109065551.5542863B8CD%www.NetBSD.org@localhost>
>>>>> dholland%NetBSD.org@localhost wrote:
> Is this still a problem with current pkgsrc and perl 5.10?
This patch and setting "ABI=64" in mk.conf are needed to build 64-bit
perl on Solaris/amd64.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/Makefile,v
retrieving revision 1.154
diff -u -r1.154 Makefile
--- Makefile 23 Oct 2009 18:41:02 -0000 1.154
+++ Makefile 20 Nov 2009 06:33:46 -0000
@@ -249,6 +249,12 @@
. else
PKG_SUGGESTED_OPTIONS+= 64bitnone
. endif
+.elif ${OPSYS} == "SunOS"
+. if defined(ABI) && ${ABI} == "64"
+PKG_SUGGESTED_OPTIONS+= 64bitall
+. else
+PKG_SUGGESTED_OPTIONS+= 64bitnone
+. endif
.else
PKG_SUGGESTED_OPTIONS+= 64bitauto
.endif
--
NAKAJI Hiroyuki
Home |
Main Index |
Thread Index |
Old Index