pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/glib
Module Name: pkgsrc
Committed By: gdt
Date: Sun Nov 24 01:02:37 UTC 2019
Modified Files:
pkgsrc/devel/glib: Makefile
Log Message:
devel/glib: Fix compiler check via pkglint
AUTOFIX: Makefile:35: 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.95 -r1.96 pkgsrc/devel/glib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/glib/Makefile
diff -u pkgsrc/devel/glib/Makefile:1.95 pkgsrc/devel/glib/Makefile:1.96
--- pkgsrc/devel/glib/Makefile:1.95 Thu May 23 19:22:58 2019
+++ pkgsrc/devel/glib/Makefile Sun Nov 24 01:02:37 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2019/05/23 19:22:58 rillig Exp $
+# $NetBSD: Makefile,v 1.96 2019/11/24 01:02:37 gdt Exp $
DISTNAME= glib-1.2.10
PKGREVISION= 11
@@ -32,7 +32,7 @@ PTHREAD_OPTS+= require
CONFIGURE_ENV.NetBSD+= glib_cv_rtldglobal_broken=no
# Tests are insufficient, override with correct values.
-.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "clang"
+.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER:Mclang}
CONFIGURE_ENV+= glib_cv_has__inline=yes
CONFIGURE_ENV+= glib_cv_has__inline__=yes
CONFIGURE_ENV+= glib_cv_hasinline=yes
Home |
Main Index |
Thread Index |
Old Index