summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-12-08 03:50:02 +0000
committerrodent <rodent@pkgsrc.org>2014-12-08 03:50:02 +0000
commit928271bb2f4a750ede676e3f38bd9e98b058b49a (patch)
tree84e709d1b81b279ed28d8e641e9002228e80b2d5 /meta-pkgs
parent5b7aae6063e79410bc6740614e108ef71dfb3d6d (diff)
downloadpkgsrc-928271bb2f4a750ede676e3f38bd9e98b058b49a.tar.gz
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 (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common
index 43a70ce5498..b330f7f78a7 100644
--- a/meta-pkgs/boost/Makefile.common
+++ b/meta-pkgs/boost/Makefile.common
@@ -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_TOOLS+= pax
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