diff --git a/srcpkgs/openmpi/template b/srcpkgs/openmpi/template index f8ef1ef077..5f962b4fd3 100644 --- a/srcpkgs/openmpi/template +++ b/srcpkgs/openmpi/template @@ -1,11 +1,12 @@ # Template file for 'openmpi' pkgname=openmpi version=4.1.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr" -hostmakedepends="gcc-fortran libgomp-devel perl" -makedepends="libgfortran-devel libgomp-devel libhwloc-devel zlib-devel" +hostmakedepends="gcc-fortran libgomp-devel perl pkg-config" +makedepends="libgfortran-devel libgomp-devel libhwloc-devel zlib-devel + libevent-devel" conf_files=" /etc/openmpi-default-hostfile /etc/openmpi-mca-params.conf @@ -42,6 +43,8 @@ pre_configure() { post_install() { vlicense LICENSE + # https://github.com/void-linux/void-packages/pull/28996#issuecomment-784255185 + mv "${DESTDIR}/usr/lib/ompi_monitoring_prof.so" "${DESTDIR}/usr/lib/openmpi" } libopenmpi_package() {