From owner-svn-ports-all@freebsd.org Sat Apr 29 10:26:25 2017 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 3DA10D553BC; Sat, 29 Apr 2017 10:26:25 +0000 (UTC) (envelope-from philip@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 E6C8C1067; Sat, 29 Apr 2017 10:26:24 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3TAQNh1092265; Sat, 29 Apr 2017 10:26:23 GMT (envelope-from philip@FreeBSD.org) Received: (from philip@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3TAQNvH092263; Sat, 29 Apr 2017 10:26:23 GMT (envelope-from philip@FreeBSD.org) Message-Id: <201704291026.v3TAQNvH092263@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: philip set sender to philip@FreeBSD.org using -f From: Philip Paeps Date: Sat, 29 Apr 2017 10:26:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439745 - in head/graphics/dspdfviewer: . files X-SVN-Group: ports-head 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: Sat, 29 Apr 2017 10:26:25 -0000 Author: philip Date: Sat Apr 29 10:26:23 2017 New Revision: 439745 URL: https://svnweb.freebsd.org/changeset/ports/439745 Log: - Fix build with LLVM 4.0 on HEAD - Install manpage in the correct place [1] (bump PORTREVISION to reinstall package) PR: 218767 Submitted by: caso.ramiro@gmail.com [1] Santhosh Raju (maintainer) Added: head/graphics/dspdfviewer/files/ head/graphics/dspdfviewer/files/patch-CMakeLists.txt (contents, props changed) Modified: head/graphics/dspdfviewer/Makefile Modified: head/graphics/dspdfviewer/Makefile ============================================================================== --- head/graphics/dspdfviewer/Makefile Sat Apr 29 09:53:15 2017 (r439744) +++ head/graphics/dspdfviewer/Makefile Sat Apr 29 10:26:23 2017 (r439745) @@ -3,6 +3,7 @@ PORTNAME= dspdfviewer PORTVERSION= 1.15.1 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= santhosh.raju@gmail.com @@ -16,7 +17,7 @@ LIB_DEPENDS= libpoppler-qt5.so:graphics/ BUILD_WRKSRC= ${WRKSRC}/build CONFIGURE_WRKSRC= ${WRKSRC}/build -INSTALL_WRKSRC= ${WRKSRC}/build +INSTALL_WRKSRC= ${WRKSRC}/build USES= cmake pkgconfig USE_QT5= buildtools_build core gui qmake_build linguisttools widgets xml @@ -28,6 +29,14 @@ GH_ACCOUNT= dannyedel PLIST_FILES= bin/dspdfviewer \ share/applications/dspdfviewer.desktop \ - share/man/man1/dspdfviewer.1 + man/man1/dspdfviewer.1.gz -.include +.include + +# Build fails with LLVM 4.0. Reported upstream as #191: +# https://github.com/dannyedel/dspdfviewer/issues/191 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200023 +CFLAGS+= -Wno-error=undefined-func-template +.endif + +.include Added: head/graphics/dspdfviewer/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/dspdfviewer/files/patch-CMakeLists.txt Sat Apr 29 10:26:23 2017 (r439745) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2017-04-20 08:58:09 UTC ++++ CMakeLists.txt +@@ -95,7 +95,7 @@ install(TARGETS dspdfviewer + RUNTIME DESTINATION bin) + + install(FILES docs/dspdfviewer.1 +- DESTINATION share/man/man1) ++ DESTINATION man/man1) + + install(FILES dspdfviewer.desktop + DESTINATION share/applications)