diff --git a/games-strategy/uqm/uqm-0.7.0.recipe b/games-strategy/uqm/uqm-0.7.0.recipe index 84e718a64..05e8a84d1 100644 --- a/games-strategy/uqm/uqm-0.7.0.recipe +++ b/games-strategy/uqm/uqm-0.7.0.recipe @@ -8,7 +8,7 @@ project and thus help make it even better. For more information, look at \ ourin HOMEPAGE="http://sc2.sourceforge.net/" COPYRIGHT="2005-2018 VCMI Team" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://sourceforge.net/projects/sc2/files/UQM/0.7/uqm-$portVersion-1-source.tgz" CHECKSUM_SHA256="136015af296b03e45a47cd19e6c4815de118c26e56548dc75d182f8d8bd028e7" SOURCE_DIR="uqm-$portVersion-1" @@ -41,7 +41,6 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libglu$secondaryArchSuffix devel:libmikmod$secondaryArchSuffix devel:libogg$secondaryArchSuffix devel:libpng$secondaryArchSuffix @@ -49,7 +48,6 @@ BUILD_REQUIRES=" devel:libsdl_image$secondaryArchSuffix devel:libvorbisfile$secondaryArchSuffix devel:libz$secondaryArchSuffix - devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:as$secondaryArchSuffix @@ -60,6 +58,13 @@ BUILD_PREREQUIRES=" cmd:tr " +PATCH() +{ + sed -i -e '/read CHOICE/d' build/unix/menu_functions + sed -i -e "s/-O3//" build/unix/build.config + sed -i -e "s:~/.uqm/:~/config/settings/UQM/:g" src/config_unix.h.in +} + BUILD() { cat <<-EOF > config.state @@ -73,10 +78,6 @@ BUILD() INPUT_install_sharedir_VALUE='$appsDir/UQM' EOF - sed -i -e '/read CHOICE/d' build/unix/menu_functions - sed -i -e "s/-O3//" build/unix/build.config - sed -i -e "s:~/.uqm/:~/config/settings/UQM/:g" src/config_unix.h.in - ./build.sh uqm }