| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.85 2020/03/17 03:48:24 rillig Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.86 2020/03/29 05:34:36 taca 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/boost-mpi/Makefile | | 8 | # used by devel/boost-mpi/Makefile |
9 | # used by devel/py-boost/Makefile | | 9 | # used by devel/py-boost/Makefile |
10 | | | 10 | |
11 | BOOST_PACKAGE?= undefined | | 11 | BOOST_PACKAGE?= undefined |
12 | BOOST_COMMENT?= undefined | | 12 | BOOST_COMMENT?= undefined |
13 | BOOST_VERSION= 1.72.0 | | 13 | BOOST_VERSION= 1.72.0 |
14 | BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//} | | 14 | BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//} |
| @@ -26,31 +26,31 @@ PKGNAME= boost-${BOOST_PACKAGE}-${BOOST_ | | | @@ -26,31 +26,31 @@ PKGNAME= boost-${BOOST_PACKAGE}-${BOOST_ |
26 | MASTER_SITES= https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/ | | 26 | MASTER_SITES= https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/ |
27 | EXTRACT_SUFX= .tar.bz2 | | 27 | EXTRACT_SUFX= .tar.bz2 |
28 | | | 28 | |
29 | MAINTAINER= pkgsrc-users@NetBSD.org | | 29 | MAINTAINER= pkgsrc-users@NetBSD.org |
30 | HOMEPAGE= https://www.boost.org/ | | 30 | HOMEPAGE= https://www.boost.org/ |
31 | COMMENT= Free, peer-reviewed portable C++ source libraries ${BOOST_COMMENT} | | 31 | COMMENT= Free, peer-reviewed portable C++ source libraries ${BOOST_COMMENT} |
32 | LICENSE= boost-license | | 32 | LICENSE= boost-license |
33 | | | 33 | |
34 | CONFLICTS+= boost<1.36.0 | | 34 | CONFLICTS+= boost<1.36.0 |
35 | | | 35 | |
36 | DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/boost/distinfo | | 36 | DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/boost/distinfo |
37 | PATCHDIR= ${.CURDIR}/../../meta-pkgs/boost/patches | | 37 | PATCHDIR= ${.CURDIR}/../../meta-pkgs/boost/patches |
38 | | | 38 | |
39 | .include "../../mk/bsd.prefs.mk" | | | |
40 | | | | |
41 | USE_TOOLS+= pax | | 39 | USE_TOOLS+= pax |
42 | USE_LANGUAGES= c c++ | | 40 | USE_LANGUAGES= c c++ |
43 | | | 41 | |
| | | 42 | .include "../../mk/bsd.prefs.mk" |
| | | 43 | |
44 | # IMPORTANT: sync this with devel/boost-libs/buildlink3.mk | | 44 | # IMPORTANT: sync this with devel/boost-libs/buildlink3.mk |
45 | # GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD | | 45 | # GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD |
46 | . if ${OPSYS} == "OpenBSD" | | 46 | . if ${OPSYS} == "OpenBSD" |
47 | . if ${MACHINE_ARCH} != "sparc64" | | 47 | . if ${MACHINE_ARCH} != "sparc64" |
48 | GCC_REQD+= 4.6 | | 48 | GCC_REQD+= 4.6 |
49 | . endif | | 49 | . endif |
50 | . elif ${LOWER_VENDOR} == "redhat" | | 50 | . elif ${LOWER_VENDOR} == "redhat" |
51 | GCC_REQD+= 4.4 | | 51 | GCC_REQD+= 4.4 |
52 | . else | | 52 | . else |
53 | GCC_REQD+= 4.5 | | 53 | GCC_REQD+= 4.5 |
54 | . endif | | 54 | . endif |
55 | | | 55 | |
56 | PLIST_SUBST+= BOOST_VERSION="${BOOST_VERSION}" | | 56 | PLIST_SUBST+= BOOST_VERSION="${BOOST_VERSION}" |