pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/pocl pocl: fix name of vendor directory



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e21d4ccae5bf
branches:  trunk
changeset: 454382:e21d4ccae5bf
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jun 10 10:26:32 2021 +0000

description:
pocl: fix name of vendor directory

diffstat:

 parallel/pocl/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 7aaed193cd8b -r e21d4ccae5bf parallel/pocl/Makefile
--- a/parallel/pocl/Makefile    Thu Jun 10 10:26:07 2021 +0000
+++ b/parallel/pocl/Makefile    Thu Jun 10 10:26:32 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2021/06/10 09:57:40 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/06/10 10:26:32 nia Exp $
 
 DISTNAME=      pocl-1.7
+PKGREVISION=   1
 CATEGORIES=    parallel
 MASTER_SITES=  http://portablecl.org/downloads/
 
@@ -18,7 +19,7 @@
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
 CMAKE_ARGS+=   -DCMAKE_INSTALL_LIBDIR="lib"
-CMAKE_ARGS+=   -DPOCL_INSTALL_ICD_VENDORDIR="${PREFIX}/share/examples/OpenCL/vendor"
+CMAKE_ARGS+=   -DPOCL_INSTALL_ICD_VENDORDIR="${PREFIX}/share/examples/OpenCL/vendors"
 CMAKE_ARGS+=   -DKERNELLIB_HOST_CPU_VARIANTS="distro"
 CMAKE_ARGS+=   -DLLVM_CONFIG=${LLVM_CONFIG_PATH:Q}
 
@@ -39,10 +40,10 @@
        ${LN} -sf ${PREFIX}/bin/clang-cpp ${WRKDIR}/.cwrapper/bin/clang-cpp
 .endif
 
-OWN_DIRS+=     ${PKG_SYSCONFDIR}/OpenCL/vendor
+OWN_DIRS+=     ${PKG_SYSCONFDIR}/OpenCL/vendors
 
-CONF_FILES+=   ${PREFIX}/share/examples/OpenCL/vendor/pocl.icd \
-               ${PKG_SYSCONFDIR}/OpenCL/vendor/pocl.icd
+CONF_FILES+=   ${PREFIX}/share/examples/OpenCL/vendors/pocl.icd \
+               ${PKG_SYSCONFDIR}/OpenCL/vendors/pocl.icd
 
 PKGCONFIG_OVERRIDE+=   pocl.pc.in.cmake
 



Home | Main Index | Thread Index | Old Index