121d00ed27
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
22 lines
775 B
Makefile
22 lines
775 B
Makefile
# $NetBSD: options.mk,v 1.4 2019/11/03 09:14:14 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.py-gtk2
|
|
PKG_SUPPORTED_OPTIONS= py-numpy
|
|
PKG_SUGGESTED_OPTIONS=
|
|
# Enable py-numpy (which requires fortran support) by default on
|
|
# platforms supported by lang/g95.
|
|
.if (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
|
|
!empty(MACHINE_ARCH:Mia64) || !empty(MACHINE_ARCH:Mpowerpc*) || \
|
|
!empty(MACHINE_ARCH:Mhppa) || !empty(MACHINE_ARCH:Msparc*) || \
|
|
!empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mmips*))
|
|
# ...but disable it until lang/g95 issue is resolved.
|
|
#PKG_SUGGESTED_OPTIONS+= py-numpy
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mpy-numpy)
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-numpy
|
|
.endif
|