svn commit: r514208 - head/graphics/zathura

Tobias Kortkamp tobik at FreeBSD.org
Thu Oct 10 07:03:19 UTC 2019


Author: tobik
Date: Thu Oct 10 07:03:18 2019
New Revision: 514208
URL: https://svnweb.freebsd.org/changeset/ports/514208

Log:
  graphics/zathura: Fix SQLITE option
  
  There is no opt_MESON_ARGS_OFF helper and Zathura also does not
  have an enable-sqlite option.  It has an 'sqlite' feature which can
  be turned on/off with the MESON_ENABLED helper.
  
  SQLite support has been auto-enabled for ~7 months by always having
  USES=sqlite in the port.  Since the SQLITE option can now properly
  turn that support off, enable it by default to not cause too many
  surprises.

Modified:
  head/graphics/zathura/Makefile

Modified: head/graphics/zathura/Makefile
==============================================================================
--- head/graphics/zathura/Makefile	Thu Oct 10 06:33:03 2019	(r514207)
+++ head/graphics/zathura/Makefile	Thu Oct 10 07:03:18 2019	(r514208)
@@ -3,7 +3,7 @@
 
 PORTNAME=	zathura
 DISTVERSION=	0.4.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics print
 MASTER_SITES=	https://pwmt.org/projects/zathura/download/ \
 		http://www.madpilot.net/~mad/pwmt.org/
@@ -20,14 +20,15 @@ LIB_DEPENDS=	libcairo.so:graphics/cairo \
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
 
-USES=		compiler:c11 gettext-tools:build gnome meson ninja \
-		pkgconfig python sqlite tar:xz
+USES=		compiler:c11 gettext-tools:build gnome meson ninja pkgconfig \
+		python tar:xz
 USE_GNOME=	glib20 gtk30 gdkpixbuf2
 INSTALLS_ICONS=	yes
 
-OPTIONS_DEFINE=	SQLITE
+OPTIONS_DEFINE=		SQLITE
+OPTIONS_DEFAULT=	SQLITE
 
-SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
-SQLITE_MESON_ARGS_OFF=	-Denable-sqlite=false
+SQLITE_USES=		sqlite
+SQLITE_MESON_ENABLED=	sqlite
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list