pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/py-sip



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 25 14:08:59 UTC 2018

Modified Files:
        pkgsrc/x11/py-sip: Makefile

Log Message:
py-sip: Handle SunOS/clang correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/x11/py-sip/Makefile

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

Modified files:

Index: pkgsrc/x11/py-sip/Makefile
diff -u pkgsrc/x11/py-sip/Makefile:1.49 pkgsrc/x11/py-sip/Makefile:1.50
--- pkgsrc/x11/py-sip/Makefile:1.49     Wed Jan 17 19:16:05 2018
+++ pkgsrc/x11/py-sip/Makefile  Thu Jan 25 14:08:59 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2018/01/17 19:16:05 markd Exp $
+# $NetBSD: Makefile,v 1.50 2018/01/25 14:08:59 jperkin Exp $
 
 DISTNAME=      sip-4.19.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -34,7 +34,8 @@ CONFIGURE_ARGS+=      LFLAGS_PLUGIN="-bundle 
 .else
 CONFIGURE_ARGS+=       CFLAGS_SHLIB=-fPIC
 CONFIGURE_ARGS+=       CXXFLAGS_SHLIB=-fPIC
-.  if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc*)
+.  if ${OPSYS} == "SunOS" && \
+      (!empty(CC_VERSION:Mgcc*) || !empty(PKGSRC_COMPILER:Mclang))
 CONFIGURE_ARGS+=       -p solaris-g++
 # gcc3 uses -mimpure-text to not pass -assert pure-text to the linker
 CONFIGURE_ARGS+=       LFLAGS_SHLIB="-shared -mimpure-text"



Home | Main Index | Thread Index | Old Index