Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/kio kio: restore previous, make as SUBST_NOOP_OK...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c93654dc8f4a
branches:  trunk
changeset: 432647:c93654dc8f4a
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun May 24 00:32:50 2020 +0000

description:
kio: restore previous, make as SUBST_NOOP_OK.fix-moc=yes

Seems this is a noop on some platforms and required on others.

diffstat:

 devel/kio/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 38dd10f062da -r c93654dc8f4a devel/kio/Makefile
--- a/devel/kio/Makefile        Sun May 24 00:27:26 2020 +0000
+++ b/devel/kio/Makefile        Sun May 24 00:32:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2020/05/23 23:02:04 mef Exp $
+# $NetBSD: Makefile,v 1.42 2020/05/24 00:32:50 markd Exp $
 
 DISTNAME=      kio-${KF5VER}
 PKGREVISION=   3
@@ -29,6 +29,17 @@
 CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/kshorturifilterrc \
                ${PKG_SYSCONFDIR}/xdg/kshorturifilterrc
 
+# generation of kcookieserver.moc fails when ${PREFIX}/include in the moc include path
+SUBST_CLASSES+=                fix-moc
+SUBST_STAGE.fix-moc=   post-configure
+SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
+SUBST_FILES.fix-moc=   _KDE_build/src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc+=  _KDE_build/src/ioslaves/trash/CMakeFiles/kcm_trash_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc+=  _KDE_build/src/urifilters/ikws/CMakeFiles/kurisearchfilter_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc+=  _KDE_build/src/kcms/kio/CMakeFiles/kcm_kio_autogen.dir/AutogenInfo.json
+SUBST_NOOP_OK.fix-moc= yes
+SUBST_SED.fix-moc=     -e 's;"${PREFIX}/include",;;g'
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/krb5.buildlink3.mk"
 .include "../../archivers/karchive/buildlink3.mk"



Home | Main Index | Thread Index | Old Index