summaryrefslogtreecommitdiff
path: root/x11/py-gtk2/options.mk
blob: 8471d86d4818a169e6b66c5e3d39b3b98b0e2489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: options.mk,v 1.1 2012/11/30 12:32:50 ryoon Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.py-gtk2
PKG_SUPPORTED_OPTIONS=	py-numpy
.if (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
	!empty(MACHINE_ARCH:Mamd64) || \
	!empty(MACHINE_ARCH:Mia64) || !empty(MACHINE_ARCH:Mpowerpc*) || \
	!empty(MACHINE_ARCH:Mhppa) || !empty(MACHINE_ARCH:Msparc*) || \
	!empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mmips*))
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