pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jul 11 11:11:53 UTC 2018

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk/compiler/gcc.mk: Darwin needs _USE_GCC_SHLIB too.


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 pkgsrc/mk/compiler/gcc.mk

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

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.192 pkgsrc/mk/compiler/gcc.mk:1.193
--- pkgsrc/mk/compiler/gcc.mk:1.192     Thu May 24 05:47:21 2018
+++ pkgsrc/mk/compiler/gcc.mk   Wed Jul 11 11:11:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.192 2018/05/24 05:47:21 wiz Exp $
+# $NetBSD: gcc.mk,v 1.193 2018/07/11 11:11:52 jperkin Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -632,7 +632,8 @@ _USE_GCC_SHLIB?=    yes
 # USE_GCC_RUNTIME for packages which create shared libraries but do not use
 # libtool to do so.
 #
-.if ${OPSYS} == "SunOS" && (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
+.if (${OPSYS} == "Darwin" || ${OPSYS} == "SunOS") && \
+    (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
 _USE_GCC_SHLIB= yes
 .endif
 



Home | Main Index | Thread Index | Old Index