From df352db86b2643a26cc34ab2675810f679ae18ec Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 14 Apr 2010 14:31:30 +0700 Subject: [PATCH] a little less pigsty Qt fix (hopefully) --- y/eliot/eliot.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/y/eliot/eliot.SlackBuild b/y/eliot/eliot.SlackBuild index eb462b10..88e141f4 100755 --- a/y/eliot/eliot.SlackBuild +++ b/y/eliot/eliot.SlackBuild @@ -46,7 +46,7 @@ CPPFLAGS=$SLCKFLAGS \ --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ --infodir=$PREFIX/info -#just close your eyes and pretend these don't exist +# just close your eyes and let's pretend these don't exist case $ARCH in "x86_64") sed -i 's|/usr/lib[^6]|/usr/lib64 |g' $(find . -name Makefile) @@ -54,7 +54,10 @@ case $ARCH in *) esac sed -i 's|-lreadline|-lncursesw -lreadline|g' $(find . -name Makefile) -sed -i 's|../../qt/||g' qt/*.moc.cpp +for m in qt/*.moc.cpp ; do + mv $m $m.bkp ; + moc ${m%moc.cpp}h > $m ; +done # compilation make -j3 PREFIX=$PREFIX