pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/boost-libs Work around "fatal error: had to relo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e844656e7b04
branches: trunk
changeset: 641822:e844656e7b04
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Wed Nov 19 11:46:17 2014 +0000
description:
Work around "fatal error: had to relocate PCH" by setting pch=off for
NetBSD/earm if gcc is being used. Fixes build for me on NetBSD/earmv7hf
7.0_BETA with gcc.
diffstat:
devel/boost-libs/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a7ca4380db5b -r e844656e7b04 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Wed Nov 19 09:01:51 2014 +0000
+++ b/devel/boost-libs/Makefile Wed Nov 19 11:46:17 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2014/11/07 19:28:38 adam Exp $
+# $NetBSD: Makefile,v 1.31 2014/11/19 11:46:17 jmcneill Exp $
BOOST_PACKAGE= libs
BOOST_COMMENT= (binary libraries)
@@ -12,7 +12,7 @@
BJAM_ARGS+= --without-python
PLIST_VARS+= context log
-.if $(OPSYS) == "NetBSD" && ($(MACHINE_ARCH) == "i386" || $(MACHINE_ARCH) == "sparc64")
+.if $(OPSYS) == "NetBSD" && (($(MACHINE_ARCH) == "i386" || $(MACHINE_ARCH) == "sparc64") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))
BJAM_ARGS+= pch=off
.elif !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k)
BJAM_ARGS+= --without-context
Home |
Main Index |
Thread Index |
Old Index