From 374eeee9e44fe97f4edb1f22485f280b96fe9789 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Mon, 12 Aug 2024 22:43:10 -0400 Subject: [PATCH] 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