1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.
This commit is contained in:
Tobias Kortkamp 2019-10-10 07:03:18 +00:00
parent 827a01cc4f
commit c99095ca7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514208

View File

@ -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>