pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/asterisk16



Module Name:    pkgsrc
Committed By:   gdt
Date:           Mon Jan 27 20:43:08 UTC 2020

Modified Files:
        pkgsrc/comms/asterisk16: Makefile

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/comms/asterisk16/Makefile

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

Modified files:

Index: pkgsrc/comms/asterisk16/Makefile
diff -u pkgsrc/comms/asterisk16/Makefile:1.55 pkgsrc/comms/asterisk16/Makefile:1.56
--- pkgsrc/comms/asterisk16/Makefile:1.55       Sun Jan 26 17:30:50 2020
+++ pkgsrc/comms/asterisk16/Makefile    Mon Jan 27 20:43:07 2020
@@ -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 @@ post-install:
        ${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