svn commit: r408914 - head/math/py-matplotlib

Jimmy Olgeni olgeni at FreeBSD.org
Mon Feb 15 00:56:31 UTC 2016


Author: olgeni
Date: Mon Feb 15 00:56:30 2016
New Revision: 408914
URL: https://svnweb.freebsd.org/changeset/ports/408914

Log:
  Make the cairo and gdkpixbuf2 dependencies conditional on
  GTKBACKEND and GTKAGGBACKEND. This change restores headless
  support.
  
  Approved by:	maintainer (by mail)

Modified:
  head/math/py-matplotlib/Makefile

Modified: head/math/py-matplotlib/Makefile
==============================================================================
--- head/math/py-matplotlib/Makefile	Mon Feb 15 00:23:08 2016	(r408913)
+++ head/math/py-matplotlib/Makefile	Mon Feb 15 00:56:30 2016	(r408914)
@@ -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


More information about the svn-ports-all mailing list