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: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on Solaris
10 (amd64) with Sun Studio 10)
Date: Fri, 20 Nov 2009 16:26:27 +0900
On Fri, 20 Nov 2009 16:10:05 +0900, NAKAJI Hiroyuki
<nakaji%jp.freebsd.org@localhost> wrote:
> 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
Does it mean Solaris must be treated same as AIX?
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 07:24:17 -0000
@@ -243,7 +243,7 @@
. if defined(ABI) && ${ABI} == "64"
PKG_SUGGESTED_OPTIONS+= 64bitint
. endif
-.elif ${OPSYS} == "AIX"
+.elif ${OPSYS} == "AIX" || ${OPSYS} == "SunOS"
. if defined(ABI) && ${ABI} == "64"
PKG_SUGGESTED_OPTIONS+= 64bitall
. else
Home |
Main Index |
Thread Index |
Old Index