From owner-svn-ports-all@freebsd.org Thu Oct 20 06:44:23 2016 Return-Path: Delivered-To: svn-ports-all@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 37504C1A5FD; Thu, 20 Oct 2016 06:44:23 +0000 (UTC) (envelope-from madpilot@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 E32A0F68; Thu, 20 Oct 2016 06:44:22 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9K6iMt0062638; Thu, 20 Oct 2016 06:44:22 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9K6iMih062637; Thu, 20 Oct 2016 06:44:22 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201610200644.u9K6iMih062637@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Thu, 20 Oct 2016 06:44:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r424308 - branches/2016Q4/x11-toolkits/girara X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 06:44:23 -0000 Author: madpilot Date: Thu Oct 20 06:44:21 2016 New Revision: 424308 URL: https://svnweb.freebsd.org/changeset/ports/424308 Log: MFH: r424292 - Add GCC option, turned on by default, to force compilation using GCC, this fixes a problem in zathura which shows up only when girara is compiled wth clang [1] - Make the port use gnu99 C standard to allow it to compile with the default gcc 4.8 - Remove USES=compiler since it's not needed anymore - Small cosmetic change to the REINPLACE_CMD lines - While here, make the build verbose PR: 213595 Submitted by: Michael Danilov Approved by: ports-secteam (feld) Modified: branches/2016Q4/x11-toolkits/girara/Makefile Directory Properties: branches/2016Q4/ (props changed) Modified: branches/2016Q4/x11-toolkits/girara/Makefile ============================================================================== --- branches/2016Q4/x11-toolkits/girara/Makefile Thu Oct 20 06:13:07 2016 (r424307) +++ branches/2016Q4/x11-toolkits/girara/Makefile Thu Oct 20 06:44:21 2016 (r424308) @@ -3,6 +3,7 @@ PORTNAME= girara PORTVERSION= 0.2.6 +PORTREVISION= 1 CATEGORIES= x11-toolkits graphics MASTER_SITES= http://pwmt.org/projects/girara/download/ @@ -10,22 +11,30 @@ MAINTAINER= madpilot@FreeBSD.org COMMENT= GTK3 Interface Library for Zathura PDF Viewer USE_GNOME= glib20 gtk30 -USES= compiler:c11 gmake pkgconfig +USES= gmake pkgconfig USE_LDCONFIG= yes +USE_CSTD= gnu99 LIBDIR= ${PREFIX}/lib -MAKE_ENV+= SFLAGS=${STRIP} +MAKE_ENV+= SFLAGS=${STRIP} \ + VERBOSE=1 -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= GCC NLS +# Force GCC by default due to problems in dependent port zathura with keyboard +# input when compiled using clang. +OPTIONS_DEFAULT=GCC OPTIONS_SUB= yes NLS_USES= gettext +GCC_USE= GCC=yes post-patch: .SILENT - ${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g'\ + ${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|^\(CFLAGS +=\) -std=c11|\1|' \ + ${WRKSRC}/config.mk post-patch-NLS-off: .SILENT - ${REINPLACE_CMD} -e '/-C po/d'\ + ${REINPLACE_CMD} -e '/-C po/d' \ ${WRKSRC}/Makefile .include