svn commit: r439745 - in head/graphics/dspdfviewer: . files
Philip Paeps
philip at FreeBSD.org
Sat Apr 29 10:26:25 UTC 2017
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 at gmail.com [1]
Santhosh Raju <santhosh.raju at gmail.com> (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 at 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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# 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 <bsd.port.post.mk>
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)
More information about the svn-ports-head
mailing list