warsow: test $XBPS_TARGET_MACHINE
This commit is contained in:
parent
96acf949e1
commit
fb6a881a9b
|
@ -19,7 +19,7 @@ distfiles="http://www.warsow.eu/warsow_${version}_sdk.tar.gz"
|
|||
checksum=ac635c654e088566d30d53e8fab21abd2d40762d7f4ab0e09faa827aac5c4f97
|
||||
|
||||
post_extract() {
|
||||
if [ "$XBPS_MACHINE" != "i686" -a "$XBPS_MACHINE" != "x86_64" ]; then
|
||||
if [ "$XBPS_TARGET_MACHINE" != "i686" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
|
||||
sed -i 's/-msse2//' source/source/Makefile
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user