pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

okular: build on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Tue Feb 13 08:54:15 2018 +1300
Changeset:	0b6cf01481ff1f46f203e7c893a1a70bb44819d9

Modified Files:
	okular/Makefile
Added Files:
	okular/hacks.mk

Log Message:
okular: build on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0b6cf01481ff1f46f203e7c893a1a70bb44819d9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 okular/Makefile | 8 +++-----
 okular/hacks.mk | 7 +++++++
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs:
diff --git a/okular/Makefile b/okular/Makefile
index dc0836fdb2..4e94766767 100644
--- a/okular/Makefile
+++ b/okular/Makefile
@@ -28,11 +28,8 @@ CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/okular.categories \
 SUBST_CLASSES+=		fix-moc
 SUBST_STAGE.fix-moc=	post-configure
 SUBST_MESSAGE.fix-moc=	Cleaning up MOC includes
-SUBST_FILES.fix-moc=	_KDE_build/generators/djvu/CMakeFiles/okularGenerator_djvu_autogen.dir/AutogenInfo.cmake
-SUBST_FILES.fix-moc+=	_KDE_build/generators/chm/CMakeFiles/okularGenerator_chmlib_autogen.dir/AutogenInfo.cmake
-SUBST_FILES.fix-moc+=	_KDE_build/generators/tiff/CMakeFiles/okularGenerator_tiff_autogen.dir/AutogenInfo.cmake
-SUBST_FILES.fix-moc+=	_KDE_build/generators/plucker/CMakeFiles/okularGenerator_plucker_autogen.dir/AutogenInfo.cmake
-SUBST_FILES.fix-moc+=	_KDE_build/generators/epub/CMakeFiles/okularGenerator_epub_autogen.dir/AutogenInfo.cmake
+SUBST_FILES.fix-moc=	_KDE_build/generators/*/CMakeFiles/okularGenerator_*_autogen.dir/AutogenInfo.cmake
+SUBST_FILES.fix-moc+=	_KDE_build/CMakeFiles/okularpart_autogen.dir/AutogenInfo.cmake
 SUBST_SED.fix-moc=	-e 's,;${PREFIX}/include;,;,g'
 
 .include "../../devel/chmlib/buildlink3.mk"
@@ -41,6 +38,7 @@ SUBST_SED.fix-moc=	-e 's,;${PREFIX}/include;,;,g'
 .include "../../devel/threadweaver/buildlink3.mk"
 .include "../../graphics/djvulibre-lib/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
 .include "../../wip/libkexiv2/buildlink3.mk"
 .include "../../www/kjs/buildlink3.mk"
 .include "../../www/khtml/buildlink3.mk"
diff --git a/okular/hacks.mk b/okular/hacks.mk
new file mode 100644
index 0000000000..9c686b8489
--- /dev/null
+++ b/okular/hacks.mk
@@ -0,0 +1,7 @@
+# $NetBSD: hacks.mk,v 1.1 2018/01/17 20:00:21 markd Exp $
+
+# linking -lQt5Widgets on NetBSD with gcc produces
+# ld: BFD (NetBSD Binutils nb1) 2.27 assertion fail
+# /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2694
+# unless -lexecinfo preceeds -lQt5Widgets
+BUILDLINK_TRANSFORM.NetBSD+=	l:Qt5Widgets:execinfo:Qt5Widgets


Home | Main Index | Thread Index | Old Index