pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44769: pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit ABI
>Number: 44769
>Category: pkg
>Synopsis: pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit
>ABI
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 25 11:45:00 +0000 2011
>Originator: Dr. W. Stukenbrock
>Release: pkgsrc 2010Q4
>Organization:
Dr. Nagler & Company GmbH
>Environment:
System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST
2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
>Description:
When ABI=64 is selected on Solaris2.x, openssl failes to compile.
The reason is, that in the Makefile in CONFIGURE_ARGS the wrong target
is specified. "solaris-..."
The correct one would be "solaris64-..."
>How-To-Repeat:
Try to compile openssl for ABI=64 (with sunstudio or GNU compile - both
will fail).
>Fix:
The fix is easy. Just setup the correct target in the makefile for
configure.
The following fix will solve this problem:
--- Makefile 2011/03/25 11:06:09 1.1
+++ Makefile 2011/03/25 11:06:24
@@ -64,9 +64,9 @@
. if defined(OPENSSL_MACHINE_ARCH) && !empty(OPENSSL_MACHINE_ARCH)
CONFIGURE_SCRIPT= ./Configure
. if !empty(CC_VERSION:Mgcc*)
-CONFIGURE_ARGS+= solaris-${OPENSSL_MACHINE_ARCH}-gcc
+CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
. else
-CONFIGURE_ARGS+= solaris-${OPENSSL_MACHINE_ARCH}-cc
+CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
. endif
. endif
.elif ${OPSYS} == "IRIX"
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index