ports/kde (kde4): kdewebdev: fix build with newer versions of tidy
commit d934c571219b870d2311259952b7e8025865e830 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Mar 29 20:15:49 2016 +0900 kdewebdev: fix build with newer versions of tidy diff --git a/kdewebdev/Pkgfile b/kdewebdev/Pkgfile index 1cb2d9a..5985ada 100644 --- a/kdewebdev/Pkgfile +++ b/kdewebdev/Pkgfile @@ -17,6 +17,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/klinkstatus/src/tidy/tidyx.h + fi + mkdir build; cd build cmake ../$name-$version \ -DCMAKE_BUILD_TYPE=RELEASE \
participants (1)
-
crux@crux.nu