From 06d59aacf9dbecf60bbac34ddb5706f99436b5d8 Mon Sep 17 00:00:00 2001 From: kwm Date: Thu, 22 Aug 2013 13:54:34 +0000 Subject: Fix Makefile errors, make python a on/off option instead of detect. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18658 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/gedit-plugins/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile index 16a7bbed4..4c5e2e96e 100644 --- a/editors/gedit-plugins/Makefile +++ b/editors/gedit-plugins/Makefile @@ -35,15 +35,13 @@ OPTIONS_DEFINE= PYTHON PYTHON_DESC= Build python plugins .if defined(PACKAGE_BUILDING) -.undef WITHOUT_GNOME -WITH_GNOME= yes +OPTIONS_DEFAULT=PYTHON .endif .include -.if ${HAVE_GNOME:Mpygtksourceview}!="" && ${ARCH}!="sparc64" || ${PORT_OPTIONS:MPYTHON} +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes -.include "${PORTSDIR}/Mk/bsd.python.mk" USE_GNOME+= pygtksourceview BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte \ ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus \ @@ -62,4 +60,4 @@ post-patch: @${REINPLACE_CMD} -e 's| \\t\\r\\n\\f|[:space:]|g' \ ${WRKSRC}/configure -.include +.include -- cgit v1.2.3