warsow: use SSE only where possible

This commit is contained in:
Christian Neukirchen 2014-08-28 14:26:58 +02:00
parent 059a76a6b6
commit 9ac9c63784
1 changed files with 8 additions and 2 deletions

View File

@ -18,9 +18,15 @@ homepage="http://www.warsow.net/"
distfiles="http://www.warsow.eu/warsow_${version}_sdk.tar.gz"
checksum=ac635c654e088566d30d53e8fab21abd2d40762d7f4ab0e09faa827aac5c4f97
post_extract() {
if [ "$XBPS_MACHINE" != "i686" -a "$XBPS_MACHINE" != "x86_64" ]; then
sed -i 's/-msse2//' source/source/Makefile
fi
}
do_build() {
cd ${wrksrc}/source/source
make
cd source/source
make ${makejobs}
}
do_install() {