Date: Tuesday, November 19, 2019 @ 15:49:23 Author: anatolik Revision: 369433
upgpkg: hwloc 2.1.0-1 Added: hwloc/trunk/fix_completion_dir.patch Modified: hwloc/trunk/PKGBUILD --------------------------+ PKGBUILD | 16 ++++++++++++---- fix_completion_dir.patch | 13 +++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-19 10:43:49 UTC (rev 369432) +++ PKGBUILD 2019-11-19 15:49:23 UTC (rev 369433) @@ -4,19 +4,27 @@ # Contributor: Hervé YVIQUEL <[email protected]> pkgname=hwloc -pkgver=1.11.12 +pkgver=2.1.0 pkgrel=1 pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures' url='https://www.open-mpi.org/projects/hwloc/' arch=('x86_64') license=('BSD') -depends=('numactl' 'libtool' 'systemd-libs') +depends=('libtool' 'systemd-libs' 'libpciaccess') makedepends=('cairo' 'libxml2' 'pciutils' 'systemd') optdepends=('cairo' 'libxml2' 'pciutils') options=('!docs') -source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('ddfb7b9b4571551165b0fd824a340e58814c8c2b4af64c818579d4bc695a417d') +source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2 + fix_completion_dir.patch) +sha256sums=('19429752f772cf68321196970ffb10dafd7e02ab38d2b3382b157c78efd10862' + '3487e1f7819eba4131ae70140a624f0fff6ec9761ed3944eb6beebdf73f5147f') +prepare() { + cd hwloc-${pkgver} + patch -p1 < ../fix_completion_dir.patch + autoconf -f -i +} + build() { cd hwloc-${pkgver} ./configure \ Added: fix_completion_dir.patch =================================================================== --- fix_completion_dir.patch (rev 0) +++ fix_completion_dir.patch 2019-11-19 15:49:23 UTC (rev 369433) @@ -0,0 +1,13 @@ +diff --git a/Makefile.am b/Makefile.am +index 089dcc7a..dae7aba3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -56,7 +56,7 @@ endif HWLOC_BUILD_STANDALONE + # Only install the valgrind suppressions file if we're building in + # standalone mode + if HWLOC_BUILD_STANDALONE +-bashcompdir = $(sysconfdir)/bash_completion.d ++bashcompdir = /usr/share/bash-completion/completions + dist_bashcomp_DATA = contrib/completion/hwloc-completion.bash + dist_pkgdata_DATA = contrib/hwloc-valgrind.supp + dist_doc_DATA = contrib/misc/dynamic_SVG_example.html
