pkgsrc-WIP-changes archive

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

kget: REPLACE_PERL and fix-moc



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Tue Feb 13 19:10:32 2018 +1300
Changeset:	2b7c307ec7c87da65ded45b47962083cb4acad28

Modified Files:
	kget/Makefile

Log Message:
kget:  REPLACE_PERL and fix-moc

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

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

diffstat:
 kget/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diffs:
diff --git a/kget/Makefile b/kget/Makefile
index c8572c7387..9a94a1414e 100644
--- a/kget/Makefile
+++ b/kget/Makefile
@@ -13,10 +13,20 @@ BUILD_DEPENDS+=	kdoctools>=5.19.0:../../devel/kdoctools
 
 USE_TOOLS+=	pkg-config msgmerge
 
+REPLACE_PERL+=	conf/kget_sensitive.pl conf/kget_limitdownloads.pl
+
 #MAKE_DIRS+=	${PKG_SYSCONFDIR}/xdg
 #CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/ark.categories \
 #		${PKG_SYSCONFDIR}/xdg/ark.categories
 
+# generation of kded.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/transfer-plugins/*/CMakeFiles/*_autogen.dir/AutogenInfo.cmake
+SUBST_FILES.fix-moc+=	_KDE_build/extensions/konqueror/CMakeFiles/kget_browser_integration_autogen.dir/AutogenInfo.cmake
+SUBST_SED.fix-moc=	-e 's,;${PREFIX}/include;,;,g'
+
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/kcmutils/buildlink3.mk"
 .include "../../devel/knotifyconfig/buildlink3.mk"


Home | Main Index | Thread Index | Old Index