pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/openssl



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Nov 24 01:45:12 UTC 2019

Modified Files:
        pkgsrc/security/openssl: Makefile

Log Message:
security/openssl: Fix recent use of empty()

Should resolve build on SmartOS.
(Amazingly, the wrong expression worked fine on NetbSD with gcc when
it was tested.)


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 pkgsrc/security/openssl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openssl/Makefile
diff -u pkgsrc/security/openssl/Makefile:1.244 pkgsrc/security/openssl/Makefile:1.245
--- pkgsrc/security/openssl/Makefile:1.244      Sat Nov 23 19:44:16 2019
+++ pkgsrc/security/openssl/Makefile    Sun Nov 24 01:45:12 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.244 2019/11/23 19:44:16 gdt Exp $
+# $NetBSD: Makefile,v 1.245 2019/11/24 01:45:12 gdt Exp $
 
 DISTNAME=      openssl-1.0.2s
 PKGREVISION=   1
@@ -32,7 +32,7 @@ CONFIGURE_ARGS+=      shared no-fips
 
 # Avoid dependency on 'makedepend' on platforms where the default CC is set
 # to 'cc' not 'gcc' in boostrap-mk-files.  OpenSSL only supports the latter.
-.if !empty(${PKGSRC_COMPILER:Mgcc}) && ${CC} == "cc"
+.if !empty(PKGSRC_COMPILER:Mgcc) && ${CC} == "cc"
 CC=                    gcc
 .endif
 
@@ -50,7 +50,7 @@ OPENSSL_MACHINE_ARCH= ${MACHINE_ARCH}
 # back to ./config's autodetection if not.
 .  if defined(OPENSSL_MACHINE_ARCH) && !empty(OPENSSL_MACHINE_ARCH)
 CONFIGURE_SCRIPT=      ./Configure
-.    if !empty(${PKGSRC_COMPILER:Mclang}) || !empty(${PKGSRC_COMPILER:Mgcc})
+.    if !empty(PKGSRC_COMPILER:Mclang) || !empty(PKGSRC_COMPILER:Mgcc)
 CONFIGURE_ARGS+=       solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
 .    else
 CONFIGURE_ARGS+=       solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc



Home | Main Index | Thread Index | Old Index