pkgsrc/x11/py-gtk2/options.mk
tsutsui 591e617d11 Disable py-numpy option (which requires lang/g95 support) by default
until lang/g95 issue is resolved.
Also bump PKGREVISION for the option default change.

"Please do that" from wiz@ in PR/48023.
2013-07-09 15:49:43 +00:00

22 lines
774 B
Makefile

# $NetBSD: options.mk,v 1.3 2013/07/09 15:49:43 tsutsui 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