diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-08-22 21:54:34 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-08-22 21:54:34 +0800 |
commit | 06d59aacf9dbecf60bbac34ddb5706f99436b5d8 (patch) | |
tree | 3f155c6b1d969be3f9e9ac4e46a72422e8ae62d3 | |
parent | 67bec9164181de143ba71a97c111d11ae0e774af (diff) | |
download | marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar.gz marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar.bz2 marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar.lz marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar.xz marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.tar.zst marcuscom-ports-06d59aacf9dbecf60bbac34ddb5706f99436b5d8.zip |
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
-rw-r--r-- | editors/gedit-plugins/Makefile | 8 |
1 files 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 <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk> |