pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/boost-libs boost-libs: Fix build failure on NetB...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ea2ea79bc60
branches: trunk
changeset: 408994:6ea2ea79bc60
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Tue Jan 14 20:34:11 2020 +0000
description:
boost-libs: Fix build failure on NetBSD/amd64 8 and lang/gcc7
* PCH option generates errors on NetBSD/amd64 8 and lang/gcc7 environment.
diffstat:
devel/boost-libs/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 61bb339fcb4a -r 6ea2ea79bc60 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Tue Jan 14 20:29:18 2020 +0000
+++ b/devel/boost-libs/Makefile Tue Jan 14 20:34:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2019/12/31 13:30:27 nros Exp $
+# $NetBSD: Makefile,v 1.79 2020/01/14 20:34:11 ryoon Exp $
BOOST_PACKAGE= libs
BOOST_COMMENT= (binary libraries)
@@ -12,7 +12,13 @@
BJAM_ARGS+= --without-python
PLIST_VARS+= backtrace context fiber log longdbl
-.if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))
+.include "../../mk/compiler.mk"
+
+.if (${OPSYS} == "NetBSD" && \
+ ((${MACHINE_ARCH} == "i386") || \
+ (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))) || \
+ (!empty(MACHINE_PLATFORM:MNetBSD-8.*-x86_64) && \
+ !empty(CC_VERSION:Mgcc-7.*))
BJAM_ARGS+= pch=off
.endif
Home |
Main Index |
Thread Index |
Old Index