blob: a6f48aa9410e6f24cca2596cd4c2cfb0a085cbfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: options.mk,v 1.1 2021/09/08 12:08:21 micha Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.avr-gcc
PKG_SUPPORTED_OPTIONS= gcc-inplace-math
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
# gcc-inplace-math: Build math libraries in place
.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
. include "../../devel/gmp/inplace.mk"
. include "../../math/isl/inplace.mk"
. include "../../math/mpcomplex/inplace.mk"
. include "../../math/mpfr/inplace.mk"
.else
CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp}
CONFIGURE_ARGS+= --with-isl=${BUILDLINK_PREFIX.isl}
CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex}
CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr}
. include "../../devel/gmp/buildlink3.mk"
. include "../../math/isl/buildlink3.mk"
. include "../../math/mpcomplex/buildlink3.mk"
. include "../../math/mpfr/buildlink3.mk"
.endif
|