git: 374eeee9e44f - main - math/fftw3: Convert OPENMPI option to USES=mpi
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Aug 2024 02:59:17 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=374eeee9e44fe97f4edb1f22485f280b96fe9789
commit 374eeee9e44fe97f4edb1f22485f280b96fe9789
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-08-13 02:43:10 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-08-13 02:59:03 +0000
math/fftw3: Convert OPENMPI option to USES=mpi
This should unbreak the OPENMPI option for 32-bit archs after
0728e016e0ca.
Reported by: fluffy (via IRC)
MFH: 2024Q3
---
math/fftw3/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 7c0a4919f051..121f7d7c0092 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -28,7 +28,6 @@ USE_PERL5= build
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-shared --enable-threads --disable-fortran
-MPIDIR?= ${LOCALBASE}/mpi/openmpi
SHLIB_VER_MAJ= ${DISTVERSION:R:R}
SHLIB_VER_MIN= 6
@@ -71,10 +70,10 @@ OPENMP_CONFIGURE_ENABLE= openmp
OPENMP_EXTRA_PATCHES= ${FILESDIR}/extrapatch-tests_fftw-bench.c
OPENMPI_DESC= Build OpenMPI parallel libraries
-OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi
+OPENMPI_USES= mpi:openmpi
OPENMPI_CONFIGURE_ENABLE= mpi
-OPENMPI_CONFIGURE_ENV= MPICC=${MPIDIR}/bin/mpicc \
- MPIRUN=${MPIDIR}/bin/mpirun
+OPENMPI_CONFIGURE_ENV= MPICC=${MPICC} \
+ MPIRUN=${MPIRUN}
.include <bsd.port.options.mk>