mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
a little less pigsty Qt fix (hopefully)
This commit is contained in:
parent
54a8f2b015
commit
df352db86b
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue