system/qemu-legacy: Fixed SDL header inclusion.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Woodfall 2011-11-13 17:48:47 -06:00 committed by Robby Workman
parent 3edf41fd85
commit 35ff32c2c8
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@
SRCNAM=qemu SRCNAM=qemu
PRGNAM=qemu-legacy PRGNAM=qemu-legacy
VERSION=${VERSION:-0.11.1} VERSION=${VERSION:-0.11.1}
BUILD=${BUILD:-2} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -70,7 +70,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \ # For some reason it doesn't find SDL.h
CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
@ -91,9 +92,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -r $PKG/usr/share/doc rm -r $PKG/usr/share/doc
cp -a \ cp -a \
LICENSE README TODO COPYING COPYING.LIB CODING_STYLE Changelog MAINTAINERS VERSION \ CODING_STYLE COPYING* Changelog LICENSE MAINTAINERS README TODO VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="David Woodfall" MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net" EMAIL="dave@dawoodfall.net"
APPROVED="dsomero" APPROVED="rworkman"