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 526effd..403185e 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