summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2020-05-24 00:27:26 +0000
committermarkd <markd@pkgsrc.org>2020-05-24 00:27:26 +0000
commitbe719cd6b0ad0903165c66922c9397ec1d5a2d0d (patch)
treeac4a227210bea80c8fcf7827706a602089af99a6 /misc
parentcb8f724b276d7c2cc9c5570cb053042b514fbea7 (diff)
downloadpkgsrc-be719cd6b0ad0903165c66922c9397ec1d5a2d0d.tar.gz
kemoticons: restore previous, make as SUBST_NOOP_OK.fix-moc=yes
Seems this is a noop on some platforms and required on others.
Diffstat (limited to 'misc')
-rw-r--r--misc/kemoticons/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/kemoticons/Makefile b/misc/kemoticons/Makefile
index b7f2e807492..ba0d1c1a334 100644
--- a/misc/kemoticons/Makefile
+++ b/misc/kemoticons/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2020/05/23 14:41:55 mef Exp $
+# $NetBSD: Makefile,v 1.28 2020/05/24 00:27:26 markd Exp $
DISTNAME= kemoticons-${KF5VER}
PKGREVISION= 3
@@ -8,6 +8,13 @@ HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Support for emoticons and emoticons themes
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
+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/providers/*/CMakeFiles/emoticonstheme_*_autogen.dir/AutogenInfo.json
+SUBST_NOOP_OK.fix-moc= yes
+SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g'
+
.include "../../meta-pkgs/kde/kf5.mk"
.include "../../archivers/karchive/buildlink3.mk"