pkgsrc/math/fftw-long/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-long
.if !defined(FFTW_LONG_BUILDLINK3_MK)
FFTW_LONG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.fftw-long+= fftw-long>=3.3.9
BUILDLINK_PKGSRCDIR.fftw-long?= ../../math/fftw-long
.include "../../math/fftw/buildlink3.mk"
.endif # FFTW_LONG_BUILDLINK3_MK
BUILDLINK_TREE+= -fftw-long