Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 00:36:24 +1100
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168241: [patch] graphics/zathura: track sqlite dependency
Message-ID:  <1SWpNi-000HHF-Hq@internal.tormail.org>
Resent-Message-ID: <201205222110.q4MLA4nE004867@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SWpNi-000HHF-Hq>