yoshimi: nocross

This commit is contained in:
Andrea Brancaleoni 2016-04-30 10:07:46 +02:00
parent a087ddcaf3
commit 741971eecd

View file

@ -12,14 +12,10 @@ license="GPL-3"
homepage="http://yoshimi.sourceforge.net"
distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz"
checksum=386fff21f5bbcf8165fd3623c4a9857f13571ffc2cdf54f5b6d89bd6f179e085
nocross=yes
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
pre_configure() {
sed -i 's|ncurses|ncursesw|g' CMakeLists.txt
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;
i686*) ;;
*) sed -i 's|-msse -msse2 -mfpmath=sse||g' CMakeLists.txt;;
esac
}