blob: 8fbdf3f2c8da8eceafceaafc991b592f6625f050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.5 2021/07/09 18:30:29 nia Exp $
DISTNAME= ocl-icd-2.3.0
PKGREVISION= 2
CATEGORIES= parallel
MASTER_SITES= ${MASTER_SITE_GITHUB:=OCL-dev/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/OCL-dev/ocl-icd
COMMENT= OpenCL ICD Loader
LICENSE= 2-clause-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf autoreconf automake
USE_TOOLS+= gmake
TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
.include "../../lang/ruby/rubyversion.mk"
MAKE_FLAGS+= RUBY=${RUBY:Q}
TOOL_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
CONFIGURE_ARGS+= --enable-custom-vendordir=${PKG_SYSCONFDIR}/OpenCL/vendors
PKGCONFIG_OVERRIDE+= OpenCL.pc.in
PKGCONFIG_OVERRIDE+= ocl-icd.pc.in
MAKE_FLAGS.SunOS+= USE_MAP_TRUE='#'
MAKE_FLAGS.SunOS+= USE_MAP_FALSE=
pre-configure:
cd ${WRKSRC} && autoreconf -fi
.include "../../parallel/opencl-headers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|