diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2016-02-15 00:56:30 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2016-02-15 00:56:30 +0000 |
commit | 9d2c409fc602aef539ee409df4f7d89b8202bbcd (patch) | |
tree | 5b13c6c0288ae416909f4c6247128c7c5685e918 /math/py-matplotlib | |
parent | 89f4af7d984ffee454ee351fe9411a0f7c937674 (diff) |
Make the cairo and gdkpixbuf2 dependencies conditional on
GTKBACKEND and GTKAGGBACKEND. This change restores headless
support.
Approved by: maintainer (by mail)
Notes
Notes:
svn path=/head/; revision=408914
Diffstat (limited to 'math/py-matplotlib')
-rw-r--r-- | math/py-matplotlib/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile index 19ae4af00541..0ae5f729bcb0 100644 --- a/math/py-matplotlib/Makefile +++ b/math/py-matplotlib/Makefile @@ -26,7 +26,6 @@ RUN_DEPENDS= ${PYNUMPY} \ USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs USE_PYTHON= autoplist distutils -USE_GNOME= cairo gdkpixbuf2 CFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \ @@ -36,9 +35,9 @@ OPTIONS_SUB= yes GTKBACKEND_DESC= GTK backend support GTKBACKEND_VARS= GTK_BACKEND=True GTKBACKEND_VARS_OFF= GTK_BACKEND=False -GTKBACKEND_USE= GNOME=gtk20,pygtk2 +GTKBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2 GTKAGGBACKEND_DESC= GTKAgg backend support -GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2 +GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2 GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False QT4AGGBACKEND_DESC= Qt4Agg backend support |