From owner-svn-ports-head@freebsd.org  Sun Aug 21 19:45:31 2016
Return-Path: <owner-svn-ports-head@freebsd.org>
Delivered-To: svn-ports-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F802BC0FB5;
 Sun, 21 Aug 2016 19:45:31 +0000 (UTC) (envelope-from pi@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3971E18D0;
 Sun, 21 Aug 2016 19:45:31 +0000 (UTC) (envelope-from pi@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LJjUfq047255;
 Sun, 21 Aug 2016 19:45:30 GMT (envelope-from pi@FreeBSD.org)
Received: (from pi@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7LJjUAL047254;
 Sun, 21 Aug 2016 19:45:30 GMT (envelope-from pi@FreeBSD.org)
Message-Id: <201608211945.u7LJjUAL047254@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org
 using -f
From: Kurt Jaeger <pi@FreeBSD.org>
Date: Sun, 21 Aug 2016 19:45:30 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r420581 - head/graphics/zathura
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, 
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Aug 2016 19:45:31 -0000

Author: pi
Date: Sun Aug 21 19:45:30 2016
New Revision: 420581
URL: https://svnweb.freebsd.org/changeset/ports/420581

Log:
  graphics/zathura: fix -x option
  
  - fix it by adding some additional LIB_DEPENDS and a CPP flag for SYNCTEX
  
  PR:		211468
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
  Reported by:	freebsd@schukraft.org
  Approved by:	quentin.stievenart@gmail.com (maintainer timeout)

Modified:
  head/graphics/zathura/Makefile

Modified: head/graphics/zathura/Makefile
==============================================================================
--- head/graphics/zathura/Makefile	Sun Aug 21 19:39:52 2016	(r420580)
+++ head/graphics/zathura/Makefile	Sun Aug 21 19:45:30 2016	(r420581)
@@ -13,15 +13,21 @@ LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libcairo.so:graphics/cairo \
-		libgirara-gtk3.so:x11-toolkits/girara
+		libgirara-gtk3.so:x11-toolkits/girara \
+		libmagic.so:sysutils/file \
+		libsynctex.so:devel/tex-synctex
+
 BUILD_DEPENDS+=	rst2html:textproc/py-docutils
 
-USE_GNOME=	glib20 gtk30
+USE_GNOME=	glib20 gtk30 gdkpixbuf2
 USES=		compiler:c11 gmake pkgconfig
 MAKE_ENV=	SFLAGS="${STRIP}" \
 		RSTTOMAN=${LOCALBASE}/bin/rst2man \
 		ZLIB_INC= \
-		ZLIB_LIB=-lz
+		ZLIB_LIB=-lz \
+		WITH_SYNCTEX=1
+
+CPPFLAGS+=	-DWITH_SYNCTEX
 
 OPTIONS_DEFINE=	NLS SQLITE
 OPTIONS_SUB=	yes