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
commit45e397cb3921d5331484eda9c03808c0d2327d3d (patch)
treef10ecd66607ad446e83972bf4258ef370cebb57a /security
parentb982f8f5581e1732798c653aebd5685476fe86e9 (diff)
downloadpkgsrc-45e397cb3921d5331484eda9c03808c0d2327d3d.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"