summaryrefslogtreecommitdiff
path: root/wm/metisse/options.mk
blob: 01727f24e0c1e7933a48586f563af85ccb1d3eb7 (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
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: options.mk,v 1.1 2009/07/24 12:10:18 obache Exp $
#

PKG_OPTIONS_VAR=	PKG_OPTIONS.metisse
PKG_SUPPORTED_OPTIONS=	python

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS+=	mmx
.endif

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	freetype python

.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+=	--enable-mmx
.endif

#.if !empty(PKG_OPTIONS:Mglx)
#.  if ${MACHINE_ARCH} == "i386"
#CONFIGURE_ARGS+=	--enable-glx-x86
#.  else
#CONFIGURE_ARGS+=	--enable-glx
#.  endif
#.endif

.if !empty(PKG_OPTIONS:Mpython)
PY_PATCHPLIST=		yes
.include "../../lang/python/extension.mk"
CONFIGURE_ENV+=		PYTHON=${PYTHON}
PLIST.python=		yes
.else
CONFIGURE_ENV+=		am_cv_pathless_PYTHON=none
.endif