summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/Makefile.common
diff options
context:
space:
mode:
authorrodent <rodent>2014-12-08 03:50:02 +0000
committerrodent <rodent>2014-12-08 03:50:02 +0000
commitd497056fd31ab0cd3556ec149971116c23a18ad3 (patch)
tree84e709d1b81b279ed28d8e641e9002228e80b2d5 /meta-pkgs/boost/Makefile.common
parent8db5c8d1faf104fd36175a059f10c8bcc54dd533 (diff)
downloadpkgsrc-d497056fd31ab0cd3556ec149971116c23a18ad3.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/boost/Makefile.common')
-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