ports/kde (kde4): kde-baseapps: fix build with newer versions of tidy
commit 59fda312e401f22333bb0587f19578ff195a2ae1 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Mar 29 20:16:02 2016 +0900 kde-baseapps: fix build with newer versions of tidy diff --git a/kde-baseapps/Pkgfile b/kde-baseapps/Pkgfile index f479150..70a4925 100644 --- a/kde-baseapps/Pkgfile +++ b/kde-baseapps/Pkgfile @@ -18,6 +18,11 @@ build() { [ -n "$DO_NOT_COMPILE" ] && DO_NOT_COMPILE="`echo $DO_NOT_COMPILE | awk -F\ '{for(i=1;i<=NF;i++)printf("-DBUILD_%s=OFF%s",$i,i<NF?" ":"")}'`" + # newer versions of tidy use tidybuffio.h instead of buffio.h + if [ -f /usr/include/tidybuffio.h ]; then + sed -i -e 's|<buffio\.h>|<tidybuffio.h>|g' $name-$version/konq-plugins/validators/tidy_validator.cpp + fi + mkdir build; cd build cmake ../$name-$version \ -DCMAKE_BUILD_TYPE=RELEASE \
participants (1)
-
crux@crux.nu