From 17ccabb38ec0f8b7a237217b47804ad47d48eac3 Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 02:50:47 +0100 Subject: [PATCH] sci-mathematics/flint: version bump to 2.5.2 And fix up various stuff. --- ...int-2.4.4.exheres-0 => flint-2.5.2.exheres-0} | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) rename packages/sci-mathematics/flint/{flint-2.4.4.exheres-0 => flint-2.5.2.exheres-0} (65%) diff --git a/packages/sci-mathematics/flint/flint-2.4.4.exheres-0 b/packages/sci-mathematics/flint/flint-2.5.2.exheres-0 similarity index 65% rename from packages/sci-mathematics/flint/flint-2.4.4.exheres-0 rename to packages/sci-mathematics/flint/flint-2.5.2.exheres-0 index 526effd5..403185e4 100644 --- a/packages/sci-mathematics/flint/flint-2.4.4.exheres-0 +++ b/packages/sci-mathematics/flint/flint-2.5.2.exheres-0 @@ -1,4 +1,4 @@ -# Copyright 2014 Julian Ospald +# Copyright 2014-2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 SUMMARY="Fast Library for Number Theory" @@ -15,16 +15,14 @@ DEPENDENCIES=" dev-libs/mpfr " -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/${PN}-2.4.4-libdir.patch - "${FILES}"/${PN}-2.4.4-whitespaces.patch - "${FILES}"/${PN}-2.4.4-cflags-ldflags.patch - "${FILES}"/${PN}-2.4.4-test.patch -) - DEFAULT_SRC_COMPILE_PARAMS=( verbose ) DEFAULT_SRC_TEST_PARAMS=( AT= QUIET_CC= QUIET_CXX= QUIET_AR= ) -DEFAULT_SRC_INSTALL_PARAMS=( DESTDIR="${IMAGE}" LIBDIR="${LIBDIR}" ) +DEFAULT_SRC_INSTALL_PARAMS=( DESTDIR="${IMAGE}" LIBDIR="/usr/$(exhost --target)/lib" ) + +src_prepare() { + edo sed -i -e "s#include/flint#$(exhost --target)/include/flint#" \ + Makefile.in +} src_configure() { # NOT an autotools script