--- trunk/extras/compiz/compiz-0.8.4-r1.smage2 2009/12/26 21:32:16 4695 +++ trunk/extras/compiz/compiz-0.8.4-r1.smage2 2009/12/26 21:38:32 4696 @@ -52,7 +52,8 @@ # important: qt4 will be detected through pkgconfig and qt3 via QTLIB var # so the qt3 include must be called *after* qt4! -sminclude mbuild qt4 qt3 kde3 kde4 +# KDEDIR for out kde4 compile hack is needed, so we include kde4 +sminclude mbuild qt4 qt3 kde4 SRC_URI=( http://releases.compiz-fusion.org/${PVER}/${SRCFILE} @@ -78,5 +79,10 @@ --enable-annotate \ || die + # fixes compile issues with kde4 and kde3 installed at the same time + sed -i -e "s:-lkdecore:${KDEDIR}/$(mlibdir)/libkdecore.so:g" \ + -e "s:-lkdecorations:${KDEDIR}/$(mlibdir)/libkdecorations.so:g" \ + kde/window-decorator-kde4/Makefile || die + mmake || die }