pkgsrc/math/fftw-quad/buildlink3.mk
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

14 lines
364 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2021/05/16 10:14:09 nia Exp $
BUILDLINK_TREE+= fftw-quad
.if !defined(FFTW_QUAD_BUILDLINK3_MK)
FFTW_QUAD_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.fftw-quad+= fftw-quad>=3.3.9
BUILDLINK_PKGSRCDIR.fftw-quad?= ../../math/fftw-quad
.include "../../math/fftw/buildlink3.mk"
.endif # FFTW_QUAD_BUILDLINK3_MK
BUILDLINK_TREE+= -fftw-quad