pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-sip py-sip: Handle SunOS/clang correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0768d89f8eed
branches:  trunk
changeset: 374570:0768d89f8eed
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 25 14:08:59 2018 +0000

description:
py-sip: Handle SunOS/clang correctly.

diffstat:

 x11/py-sip/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r fb51fab40860 -r 0768d89f8eed x11/py-sip/Makefile
--- a/x11/py-sip/Makefile       Thu Jan 25 14:01:27 2018 +0000
+++ b/x11/py-sip/Makefile       Thu Jan 25 14:08:59 2018 +0000
@@ -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 @@
 .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