yoshimi: nocross

This commit is contained in:
Andrea Brancaleoni 2016-04-30 10:07:46 +02:00
parent a087ddcaf3
commit 741971eecd
1 changed files with 1 additions and 5 deletions

View File

@ -12,14 +12,10 @@ license="GPL-3"
homepage="http://yoshimi.sourceforge.net" homepage="http://yoshimi.sourceforge.net"
distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz" distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz"
checksum=386fff21f5bbcf8165fd3623c4a9857f13571ffc2cdf54f5b6d89bd6f179e085 checksum=386fff21f5bbcf8165fd3623c4a9857f13571ffc2cdf54f5b6d89bd6f179e085
nocross=yes
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share" configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
pre_configure() { pre_configure() {
sed -i 's|ncurses|ncursesw|g' CMakeLists.txt 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
} }