ports/168241: [patch] graphics/zathura: track sqlite dependency
Jan Beich
jbeich at tormail.org
Tue May 22 21:10:05 UTC 2012
>Number: 168241
>Category: ports
>Synopsis: [patch] graphics/zathura: track sqlite dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 22 21:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make install -C databases/sqlite3
$ make install -C graphics/zathura
$ make deinstall -C databases/sqlite3
$ zathura
Shared object "libsqlite3.so.8" not found, required by "zathura"
Exit 1
>Fix:
--- sqlite.diff begins here ---
Index: graphics/zathura/Makefile
===================================================================
RCS file: /a/.csup/ports/graphics/zathura/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- graphics/zathura/Makefile 19 May 2012 10:16:25 -0000 1.12
+++ graphics/zathura/Makefile 22 May 2012 13:35:36 -0000
@@ -21,6 +20,17 @@
USE_GMAKE= yes
FETCH_ARGS= -Fpr
+OPTIONS= SQLITE "Support sqlite database backend" OFF
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_SQLITE)
+LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+MAKE_ENV+= WITH_SQLITE=1
+.else
+MAKE_ENV+= WITH_SQLITE=0
+.endif
+
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils
MAN1+= zathura.1
--- sqlite.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list