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 
>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
Dr. Nagler & Company GmbH
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
        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-..."
        Try to compile openssl for ABI=64 (with sunstudio or GNU compile - both 
will fail).
        The fix is easy. Just setup the correct target in the makefile for 
        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 @@
 CONFIGURE_SCRIPT=      ./Configure
 .    if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+=       solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
 .    else
+CONFIGURE_ARGS+=       solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
 .    endif
 .  endif
 .elif ${OPSYS} == "IRIX"


Home | Main Index | Thread Index | Old Index