pkgsrc/math/fftw-quad/Makefile
nia eab927a4f0 split fftw package into -long and -quad precision variants
the package previously used PKG_OPTIONS for this, but PKG_OPTIONS
are harmful in the case that they effect the resulting ABI of
library packages. this way, things that actually need fftwl and fftwq
can depend on these sub-packages.

this also fixes fftwq on NetBSD by making it pull in libquadmath.
another thing about PKG_OPTIONS for library components is that
they mean certain components don't get tested...
2021-05-16 10:14:09 +00:00

17 lines
557 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/05/16 10:14:09 nia Exp $
PKGNAME= ${DISTNAME:S/fftw-/fftw-quad-/1}
COMMENT= Fast C routines to compute DFTs (quad precision)
FFTW_PRECISION= quad-precision
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/fftw-wisdom-to-conf
${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/fftw-wisdom-to-conf.1
${RM} -rf ${DESTDIR}${PREFIX}/info ${DESTDIR}${PREFIX}/include
.include "../../math/fftw/Makefile.common"
.include "../../math/fftw/buildlink3.mk"
.include "../../math/libquadmath/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"