summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgrant <grant>2003-07-02 13:00:46 +0000
committergrant <grant>2003-07-02 13:00:46 +0000
commitfd24765c56341f964c54dd1a32e3c1da3b90dc7c (patch)
treef10ecd66607ad446e83972bf4258ef370cebb57a /security
parent299653630e5fda96f0cbd4361e27a7fcf5ffdb31 (diff)
downloadpkgsrc-fd24765c56341f964c54dd1a32e3c1da3b90dc7c.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')
-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"