pkgsrc/wm/metisse/options.mk
obache eddc8bda85 Update metisse to 0.4.1.
This is mostly a maintenance release compared to 0.4.0. It fixes build
issues when building with _FORTIFY_SOURCE and it includes all the
security patches from Mandriva.

Pkgsrc Changes:
 * set LICENSE gnu-gpl-v3
 * marked as user-destdir ready.
 * add option: mmx and python , fixes PR 41735.
 * set selected X's one to default font path.
2009-07-24 12:10:18 +00:00

36 lines
726 B
Makefile

# $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