Thu Mar 14 19:33:04 2024 UTC (94d)
fftw: add lib/cmake/fftw3/FFTW3LibraryDepends.cmake

FFTW3*Config.cmake includes FFTW3LibraryDepends.cmake but package doesn't
install it, making cmake unhappy.  Creating an empty file is sufficient
to at least get graphics/krita building.


(markd)
diff -r1.78 -r1.79 pkgsrc/math/fftw/Makefile
diff -r1.16 -r1.17 pkgsrc/math/fftw/PLIST

cvs diff -r1.78 -r1.79 pkgsrc/math/fftw/Makefile (expand / switch to context diff)
--- pkgsrc/math/fftw/Makefile 2022/06/28 11:34:36 1.78
+++ pkgsrc/math/fftw/Makefile 2024/03/14 19:33:04 1.79
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2022/06/28 11:34:36 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2024/03/14 19:33:04 markd Exp $
 
 COMMENT=	Fast C routines to compute DFTs (single and double precision)
-PKGREVISION=	1
+PKGREVISION=	2
 
 SUPERSEDES=	fftwf-[0-9]*
 CONFLICTS+=	fftwf-[0-9]*
@@ -11,5 +11,9 @@
 FFTW_PRECISION=	double float
 
 .include "Makefile.common"
+
+# referenced by FFTW3*Config.cmake
+post-install:
+	touch ${DESTDIR}${PREFIX}/lib/cmake/fftw3/FFTW3LibraryDepends.cmake
 
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.16 -r1.17 pkgsrc/math/fftw/PLIST (expand / switch to context diff)
--- pkgsrc/math/fftw/PLIST 2021/05/16 10:14:09 1.16
+++ pkgsrc/math/fftw/PLIST 2024/03/14 19:33:04 1.17
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2021/05/16 10:14:09 nia Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/03/14 19:33:04 markd Exp $
 bin/fftw-wisdom
 bin/fftw-wisdom-to-conf
 bin/fftwf-wisdom
@@ -15,6 +15,7 @@
 lib/cmake/fftw3/FFTW3ConfigVersion.cmake
 lib/cmake/fftw3/FFTW3fConfig.cmake
 lib/cmake/fftw3/FFTW3fConfigVersion.cmake
+lib/cmake/fftw3/FFTW3LibraryDepends.cmake
 lib/libfftw3.la
 ${PLIST.mpi}lib/libfftw3_mpi.la
 ${PLIST.omp}lib/libfftw3_omp.la