pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk16 comms/asterisk16: Check for clang cor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d80ccd64582
branches:  trunk
changeset: 410708:6d80ccd64582
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Jan 27 20:43:07 2020 +0000

description:
comms/asterisk16: Check for clang correctly

(This is a simple pkglint autofix, testing for clang being in
PKGSRC_COMPILER, rather than equal to, avoiding failure with
ccache/distcc.)

diffstat:

 comms/asterisk16/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r db215b621cfa -r 6d80ccd64582 comms/asterisk16/Makefile
--- a/comms/asterisk16/Makefile Mon Jan 27 20:42:55 2020 +0000
+++ b/comms/asterisk16/Makefile Mon Jan 27 20:43:07 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2020/01/26 17:30:50 rillig Exp $
+# $NetBSD: Makefile,v 1.56 2020/01/27 20:43:07 gdt Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -287,7 +287,7 @@
        ${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/doc/README.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
-.if ${OPSYS} != "Darwin" && ${PKGSRC_COMPILER} == "clang"
+.if ${OPSYS} != "Darwin" && ${PKGSRC_COMPILER:Mclang}
 .include "../../lang/libBlocksRuntime/buildlink3.mk"
 LDFLAGS+= -L${PREFIX}/lib
 .endif



Home | Main Index | Thread Index | Old Index