From fb6a881a9b7ade52f84d4f238ff629cf5f2e8b42 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 28 Aug 2014 15:21:07 +0200 Subject: [PATCH] warsow: test $XBPS_TARGET_MACHINE --- srcpkgs/warsow/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template index 25d09135ecb..d108e5d2eeb 100644 --- a/srcpkgs/warsow/template +++ b/srcpkgs/warsow/template @@ -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 }