Fri Nov 4 18:41:10 2016 UTC ()
add note about syncing GCC versions with devel/boost-libs bl3 file


(maya)
diff -r1.61 -r1.62 pkgsrc/meta-pkgs/boost/Makefile.common

cvs diff -r1.61 -r1.62 pkgsrc/meta-pkgs/boost/Makefile.common (expand / switch to unified diff)

--- pkgsrc/meta-pkgs/boost/Makefile.common 2016/10/08 23:27:50 1.61
+++ pkgsrc/meta-pkgs/boost/Makefile.common 2016/11/04 18:41:09 1.62
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.61 2016/10/08 23:27:50 joerg Exp $ 1# $NetBSD: Makefile.common,v 1.62 2016/11/04 18:41:09 maya Exp $
2# 2#
3# used by devel/boost-build/Makefile 3# used by devel/boost-build/Makefile
4# used by devel/boost-docs/Makefile 4# used by devel/boost-docs/Makefile
5# used by devel/boost-jam/Makefile 5# used by devel/boost-jam/Makefile
6# used by devel/boost-headers/Makefile 6# used by devel/boost-headers/Makefile
7# used by devel/boost-libs/Makefile 7# used by devel/boost-libs/Makefile
8# used by devel/py-boost/Makefile 8# used by devel/py-boost/Makefile
9 9
10BOOST_PACKAGE?= undefined 10BOOST_PACKAGE?= undefined
11BOOST_COMMENT?= undefined 11BOOST_COMMENT?= undefined
12BOOST_VERSION= 1.62.0 12BOOST_VERSION= 1.62.0
13BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//} 13BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//}
14 14
@@ -31,26 +31,28 @@ MAINTAINER= pkgsrc-users@NetBSD.org @@ -31,26 +31,28 @@ MAINTAINER= pkgsrc-users@NetBSD.org
31HOMEPAGE= http://www.boost.org/ 31HOMEPAGE= http://www.boost.org/
32COMMENT= Free, peer-reviewed portable C++ source libraries ${BOOST_COMMENT} 32COMMENT= Free, peer-reviewed portable C++ source libraries ${BOOST_COMMENT}
33LICENSE= boost-license 33LICENSE= boost-license
34 34
35CONFLICTS+= boost<1.36.0 35CONFLICTS+= boost<1.36.0
36 36
37DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/boost/distinfo 37DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/boost/distinfo
38PATCHDIR= ${.CURDIR}/../../meta-pkgs/boost/patches 38PATCHDIR= ${.CURDIR}/../../meta-pkgs/boost/patches
39 39
40.include "../../mk/bsd.prefs.mk" 40.include "../../mk/bsd.prefs.mk"
41 41
42USE_TOOLS+= pax 42USE_TOOLS+= pax
43USE_LANGUAGES= c c++ 43USE_LANGUAGES= c c++
 44
 45# IMPORTANT: sync this with devel/boost-libs/buildlink3.mk
44# GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD 46# GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD
45. if ${OPSYS} == "OpenBSD" 47. if ${OPSYS} == "OpenBSD"
46. if ${MACHINE_ARCH} != "sparc64" 48. if ${MACHINE_ARCH} != "sparc64"
47GCC_REQD+= 4.6 49GCC_REQD+= 4.6
48. endif 50. endif
49. elif ${LOWER_VENDOR} == "redhat" 51. elif ${LOWER_VENDOR} == "redhat"
50GCC_REQD+= 4.4 52GCC_REQD+= 4.4
51. else 53. else
52GCC_REQD+= 4.5 54GCC_REQD+= 4.5
53. endif 55. endif
54 56
55PLIST_SUBST+= BOOST_VERSION="${BOOST_VERSION}" 57PLIST_SUBST+= BOOST_VERSION="${BOOST_VERSION}"
56 58