diff options
Diffstat (limited to 'parallel/threadingbuildingblocks/Makefile')
-rw-r--r-- | parallel/threadingbuildingblocks/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/parallel/threadingbuildingblocks/Makefile b/parallel/threadingbuildingblocks/Makefile index ee12eb68f42..21c61d83d36 100644 --- a/parallel/threadingbuildingblocks/Makefile +++ b/parallel/threadingbuildingblocks/Makefile @@ -1,33 +1,33 @@ -# $NetBSD: Makefile,v 1.8 2018/01/01 18:16:38 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2020/09/05 11:34:07 ryoon Exp $ -DISTNAME= tbb30_20110325oss_src -PKGNAME= threadingbuildingblocks-3.0.6 # for "3.0 update 6" +DISTNAME= oneTBB-2020.3 +PKGNAME= ${DISTNAME:S/oneTBB-/threadingbuildingblocks-/} CATEGORIES= parallel -MASTER_SITES= http://threadingbuildingblocks.org/uploads/76/168/3.0%20update%206/ -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_GITHUB:=oneapi-src/} +EXTRACT_SUFX= .tar.gz +GITHUB_PROJECT= oneTBB +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= asau@inbox.ru HOMEPAGE= https://www.threadingbuildingblocks.org/ COMMENT= Threading Buildling Blocks -WRKSRC= ${WRKDIR}/${DISTNAME:_src=} #tbb30_20101215oss - USE_LANGUAGES= c c++ USE_TOOLS= gmake pax MAKE_FLAGS= tbb_build_prefix=build # use fixed path +MAKE_FLAGS+= native_compiler=${CC_VERSION:C/-[[:digit:]].*//} +MAKE_FLAGS+= compiler=${CC_VERSION:C/-[[:digit:]].*//} BUILD_TARGET= default TEST_TARGET= test pre-configure: cd ${WRKSRC}/build/ && cp FreeBSD.gcc.inc NetBSD.gcc.inc && cp FreeBSD.inc NetBSD.inc -INSTALLATION_DIRS= include lib share/doc/${PKGBASE} +INSTALLATION_DIRS= include lib do-install: ${INSTALL_LIB} ${WRKSRC}/build/build_release/libtbb.so ${DESTDIR}${PREFIX}/lib/ ${INSTALL_LIB} ${WRKSRC}/build/build_release/libtbbmalloc.so ${DESTDIR}${PREFIX}/lib/ - ${INSTALL_LIB} ${WRKSRC}/build/build_debug/libtbb_debug.so ${DESTDIR}${PREFIX}/lib/ - ${INSTALL_LIB} ${WRKSRC}/build/build_debug/libtbbmalloc_debug.so ${DESTDIR}${PREFIX}/lib/ (cd ${WRKSRC}/include && pax -rw tbb ${DESTDIR}${PREFIX}/include/) # documentation: # (cd $(WRKSRC)/doc/html && pax -rw . $(DESTDIR)$(PREFIX)/share/doc/html/$(PKGBASE)/) |