summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-05-13 21:41:35 +0000
committerjperkin <jperkin@pkgsrc.org>2022-05-13 21:41:35 +0000
commitc7defe6b648402dd4f6a1913385e37182220d009 (patch)
treece737f02e4d5965943d3307bc3faa0147a5911ec /www
parenteaee7a69234e2f35032c54bb4ccab822afce3740 (diff)
downloadpkgsrc-c7defe6b648402dd4f6a1913385e37182220d009.tar.gz
khtml: Force HAVE_ALLOCA_H on SunOS.
Diffstat (limited to 'www')
-rw-r--r--www/khtml/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/khtml/Makefile b/www/khtml/Makefile
index 3ea3de2337c..5076742f4bd 100644
--- a/www/khtml/Makefile
+++ b/www/khtml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2022/04/25 08:19:44 markd Exp $
+# $NetBSD: Makefile,v 1.62 2022/05/13 21:41:35 jperkin Exp $
DISTNAME= khtml-${KF5VER}
CATEGORIES= www
@@ -12,13 +12,15 @@ MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/${KF5VER:R}/portingAids/}
USE_TOOLS+= perl msgfmt
+CMAKE_ARGS.SunOS+= -DHAVE_ALLOCA_H=1
+
# 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/src/CMakeFiles/khtmlpart_autogen.dir/AutogenInfo.json
-SUBST_FILES.fix-moc+= _KDE_build/src/CMakeFiles/khtmlimagepart_autogen.dir/AutogenInfo.json
-SUBST_FILES.fix-moc+= _KDE_build/src/kmultipart/CMakeFiles/kmultipart_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc= _KDE_build/src/CMakeFiles/khtmlpart_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc+= _KDE_build/src/CMakeFiles/khtmlimagepart_autogen.dir/AutogenInfo.json
+SUBST_FILES.fix-moc+= _KDE_build/src/kmultipart/CMakeFiles/kmultipart_autogen.dir/AutogenInfo.json
SUBST_NOOP_OK.fix-moc= yes
SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g'