|
|
@ -1,6 +1,9 @@ |
|
|
|
|
|
|
|
mesalib_prepatch() { |
|
|
|
tar xvjf $archdir/MesaDemos-$ver.tar.bz2 -C .. |
|
|
|
if [ $xpkg = mesademos ]; then |
|
|
|
tar xvjf $archdir/MesaDemos-$ver.tar.bz2 -C .. |
|
|
|
patch -p1 < $confdir/no_broken_demos.diff |
|
|
|
fi |
|
|
|
find progs/ -type f -perm +111 | xargs -r chmod -x |
|
|
|
sed -i 's,/usr/local,/usr,g' configs/* |
|
|
|
} |
|
|
@ -23,6 +26,10 @@ var_append CC_WRAPPER_FILTER "|" \ |
|
|
|
# FIXME: use a different makeopt if arch != x86 |
|
|
|
makeopt="linux-x86" |
|
|
|
|
|
|
|
if [ $xpkg = mesademos ]; then |
|
|
|
makeinstopt="" |
|
|
|
fi |
|
|
|
|
|
|
|
prepatch="mesalib_prepatch" |
|
|
|
postmake="mesalib_postmake" |
|
|
|
export CFLAGS="$CFLAGS -I/usr/X11/include" |
|
|
|