pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-Socket6 net/p5-Socket6: Fix compiler check via ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f9419f36d9e
branches: trunk
changeset: 344642:4f9419f36d9e
user: gdt <gdt%pkgsrc.org@localhost>
date: Sun Nov 24 01:20:56 2019 +0000
description:
net/p5-Socket6: Fix compiler check via pkglint
AUTOFIX: Makefile:24: Replacing "${PKGSRC_COMPILER} == \"xlc\"" with "${PKGSRC_COMPILER:Mxlc}".
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.
diffstat:
net/p5-Socket6/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ad8a0fdb8fdc -r 4f9419f36d9e net/p5-Socket6/Makefile
--- a/net/p5-Socket6/Makefile Sun Nov 24 01:14:10 2019 +0000
+++ b/net/p5-Socket6/Makefile Sun Nov 24 01:20:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2019/08/11 13:22:27 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2019/11/24 01:20:56 gdt Exp $
DISTNAME= Socket6-0.29
PKGNAME= p5-${DISTNAME}
@@ -21,7 +21,7 @@
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "AIX" && ${PKGSRC_COMPILER} == "xlc"
+.if ${OPSYS} == "AIX" && ${PKGSRC_COMPILER:Mxlc}
MAKE_ENV+= CC="cc_r"
.endif
Home |
Main Index |
Thread Index |
Old Index