From 34f2c8b45dff0549641d6a378bec94feeddad106 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 16 Sep 2018 21:23:43 +1000 Subject: [PATCH] Celestia: bump revision for rebuild --- sci-astronomy/celestia/celestia-1.6.1.recipe | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sci-astronomy/celestia/celestia-1.6.1.recipe b/sci-astronomy/celestia/celestia-1.6.1.recipe index 6960b670c..15aa944ec 100644 --- a/sci-astronomy/celestia/celestia-1.6.1.recipe +++ b/sci-astronomy/celestia/celestia-1.6.1.recipe @@ -14,7 +14,7 @@ can download dozens of easy to install add-ons with more objects." HOMEPAGE="http://celestia.sourceforge.net" COPYRIGHT="2001-2018 Celestia Development Team" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="http://fossies.org/linux/misc/celestia-$portVersion.tar.gz" CHECKSUM_SHA256="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4" SOURCE_DIR="celestia-$portVersion" @@ -64,6 +64,15 @@ BUILD_PREREQUIRES=" BUILD() { + local + for cf in -O2 -ffast-math \ + -fexpensive-optimizations \ + -fomit-frame-pointer; do + sed -i \ + -e "s/${cf}//g" \ + configure.in admin/* || die "sed failed" + done + autoreconf -fi export LIBS="-lbe -lGL -lGLU -lglut -lintl -lnetwork"