pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost Not setting GCC_REQD for OpenBSD/sparc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5b9ca8a8e7d
branches:  trunk
changeset: 642953:b5b9ca8a8e7d
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Mon Dec 08 03:50:02 2014 +0000

description:
Not setting GCC_REQD for OpenBSD/sparc64. None of the lang/gcc4* packages
build on OpenBSD 5.6/sparc64 at the moment. However, the boost-*
packages build quite well with the system gcc:

# gcc -v
Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd5.6/4.2.1/specs
Target: sparc64-unknown-openbsd5.6
Configured with: OpenBSD/sparc64 system compiler
Thread model: posix
gcc version 4.2.1 20070719
# pkg_info | grep boost
boost-headers-1.56.0 Boost is a set of free, peer-reviewed, C++ libraries.  The emphasis is on
boost-jam-1.56.0    Boost is a set of free, peer-reviewed, C++ libraries.  The emphasis is on

diffstat:

 meta-pkgs/boost/Makefile.common |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8992309dcd66 -r b5b9ca8a8e7d meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Mon Dec 08 02:43:25 2014 +0000
+++ b/meta-pkgs/boost/Makefile.common   Mon Dec 08 03:50:02 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.47 2014/11/07 19:28:38 adam Exp $
+# $NetBSD: Makefile.common,v 1.48 2014/12/08 03:50:02 rodent Exp $
 #
 # used by devel/boost-build/Makefile
 # used by devel/boost-docs/Makefile
@@ -39,7 +39,9 @@
 USE_LANGUAGES=         c c++
 # GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD
 .  if ${OPSYS} == "OpenBSD"
+.    if ${MACHINE_ARCH} != "sparc64"
 GCC_REQD+=             4.6
+.    endif
 .  else
 GCC_REQD+=             4.5
 .  endif



Home | Main Index | Thread Index | Old Index