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: update comment, fix pkglint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e9bde85d4b2
branches:  trunk
changeset: 388228:5e9bde85d4b2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 15 09:18:20 2022 +0000

description:
py-sip: update comment, fix pkglint

diffstat:

 x11/py-sip/Makefile.common |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r ead5e7706c59 -r 5e9bde85d4b2 x11/py-sip/Makefile.common
--- a/x11/py-sip/Makefile.common        Tue Nov 15 09:17:47 2022 +0000
+++ b/x11/py-sip/Makefile.common        Tue Nov 15 09:18:20 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile.common,v 1.11 2021/11/07 11:38:26 adam Exp $
+# $NetBSD: Makefile.common,v 1.12 2022/11/15 09:18:20 wiz Exp $
 #
 # used by x11/py-sip/Makefile
-# used by x11/py-sip-qt4/Makefile
 # used by x11/py-sip-qt5/Makefile
 
 DISTNAME=      sip-4.19.25
@@ -43,7 +42,7 @@
 CONFIGURE_ARGS+=       CFLAGS_SHLIB=-fPIC
 CONFIGURE_ARGS+=       CXXFLAGS_SHLIB=-fPIC
 .  if ${OPSYS} == "SunOS" && \
-      (!empty(CC_VERSION:Mgcc*) || !empty(PKGSRC_COMPILER:Mclang))
+      (${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"
@@ -54,7 +53,7 @@
 CONFIGURE_ARGS+=       LFLAGS=${LDFLAGS:Q}
 
 # Hack: gcc on sparc64 miscompiles sipgen/parser.c at -O2
-.if ${MACHINE_ARCH} == "sparc64" && !empty(CC_VERSION:Mgcc*)
+.if ${MACHINE_ARCH} == "sparc64" && ${CC_VERSION:Mgcc*}
 BUILDLINK_TRANSFORM+=  rm:-O2
 .endif
 



Home | Main Index | Thread Index | Old Index