From 45e397cb3921d5331484eda9c03808c0d2327d3d Mon Sep 17 00:00:00 2001 From: grant Date: Wed, 2 Jul 2003 13:00:46 +0000 Subject: 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(!) --- security/openssl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'security/openssl') 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" -- cgit v1.2.3