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: Sun Nov 24 01:14:10 UTC 2019
Modified Files:
pkgsrc/comms/asterisk16: Makefile
Log Message:
comms/asterisk16: Fix compiler check via pkglint
AUTOFIX: Makefile:290: Replacing "${PKGSRC_COMPILER} == \"clang\"" with "${PKGSRC_COMPILER:Mclang}".
The PKGSRC_COMPILER can be a list of chained compilers, e.g. "ccache
distcc clang". Therefore, comparing it using == or != leads to wrong
results in these cases.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 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.49 pkgsrc/comms/asterisk16/Makefile:1.50
--- pkgsrc/comms/asterisk16/Makefile:1.49 Sun Nov 3 12:04:12 2019
+++ pkgsrc/comms/asterisk16/Makefile Sun Nov 24 01:14:10 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2019/11/03 12:04:12 rillig Exp $
+# $NetBSD: Makefile,v 1.50 2019/11/24 01:14:10 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"
.endif
Home |
Main Index |
Thread Index |
Old Index