pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49131: security/openssl utilise aix-$CC configuration profiles, rather than just assume cc
>Number: 49131
>Category: pkg
>Synopsis: security/openssl utilise aix-$CC configuration profiles,
>rather than just assume cc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 20 14:25:00 +0000 2014
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
AIX l488pp067_pub 1 7 00F604884C00
>Description:
On AIX, openssl ignores $CC & defaults to using the aix-cc profile & building
with /usr/vac/bin/cc, add the necessary checks to Makefile to use the correct
profile depending on what CC/ABI is set to.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/openssl/Makefile,v
retrieving revision 1.195
diff -u -r1.195 Makefile
--- Makefile 7 Aug 2014 01:29:45 -0000 1.195
+++ Makefile 20 Aug 2014 14:10:42 -0000
@@ -79,6 +79,21 @@
. else
CONFIGURE_ARGS+= darwin-${MACHINE_ARCH}-cc
. endif
+.elif ${OPSYS} == "AIX"
+CONFIGURE_SCRIPT= ./Configure
+.if defined(ABI) && ${ABI} == "64"
+.if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+= aix64-gcc
+.elif
+CONFIGURE_ARGS+= aix64-cc
+.endif
+.else
+.if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+= aix-gcc
+.elif
+CONFIGURE_ARGS+= aix-cc
+.endif
+.endif
.include "../../mk/dlopen.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index