Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/expat/lib/libexpat Now that expat_config.h uses...
details: https://anonhg.NetBSD.org/src/rev/777ee9d99049
branches: trunk
changeset: 965595:777ee9d99049
user: maya <maya%NetBSD.org@localhost>
date: Mon Sep 23 17:20:41 2019 +0000
description:
Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).
Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.
diffstat:
external/mit/expat/lib/libexpat/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a347904c2ccb -r 777ee9d99049 external/mit/expat/lib/libexpat/Makefile
--- a/external/mit/expat/lib/libexpat/Makefile Mon Sep 23 16:19:33 2019 +0000
+++ b/external/mit/expat/lib/libexpat/Makefile Mon Sep 23 17:20:41 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/05/14 14:39:39 spz Exp $
+# $NetBSD: Makefile,v 1.3 2019/09/23 17:20:41 maya Exp $
.include <bsd.init.mk>
@@ -36,7 +36,7 @@
expat.pc: expat_config.h expat.pc.in
@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
- ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
+ ${CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/expat.pc.in \
> ${.TARGET})
Home |
Main Index |
Thread Index |
Old Index