summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-07-02 13:00:46 +0000
committergrant <grant@pkgsrc.org>2003-07-02 13:00:46 +0000
commit1bbc0aa690b8a1a4bd40744e978027ba0d3439d4 (patch)
treef10ecd66607ad446e83972bf4258ef370cebb57a /security/openssl
parentb360de006750001bc228083ba940c70e6ceed032 (diff)
downloadpkgsrc-1bbc0aa690b8a1a4bd40744e978027ba0d3439d4.tar.gz
more brutally attack the CONFIGURE_ARGS target issue on Solaris.
force gcc if *gcc* - Sun's compiler is never going to be installed into a path with 'gcc' in it(!)
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index feac4edf79e..f4d8bef2b66 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2003/06/27 02:36:36 jschauma Exp $
+# $NetBSD: Makefile,v 1.72 2003/07/02 13:00:46 grant Exp $
DISTNAME= openssl-0.9.6g
PKGREVISION= 2
@@ -74,7 +74,11 @@ PLIST_RSAREF= ${PKGDIR}/PLIST.rsaref
.if (${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)
CONFIGURE_SCRIPT= Configure
-CONFIGURE_ARGS+= solaris-${SPARC_TARGET_ARCH}-${CC:C|.*/||}
+. if !empty(CC:M*gcc*)
+CONFIGURE_ARGS+= solaris-${SPARC_TARGET_ARCH}-gcc
+. else
+CONFIGURE_ARGS+= solaris-${SPARC_TARGET_ARCH}-cc
+. endif
.endif
.if ${OPSYS} == "IRIX" && ${ABI} =="64"