pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/p5-Socket6
Module Name: pkgsrc
Committed By: gdt
Date: Sun Nov 24 01:20:56 UTC 2019
Modified Files:
pkgsrc/net/p5-Socket6: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/net/p5-Socket6/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/p5-Socket6/Makefile
diff -u pkgsrc/net/p5-Socket6/Makefile:1.49 pkgsrc/net/p5-Socket6/Makefile:1.50
--- pkgsrc/net/p5-Socket6/Makefile:1.49 Sun Aug 11 13:22:27 2019
+++ pkgsrc/net/p5-Socket6/Makefile Sun Nov 24 01:20:56 2019
@@ -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 @@ MAKE_ENV+= CCFLAGS="${CFLAGS} ${CPPFLAG
.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