forked from hasufell/hasufell-repository
		
	sci-mathematics/flint: version bump to 2.5.2
And fix up various stuff.
This commit is contained in:
		
							parent
							
								
									05e167f9cd
								
							
						
					
					
						commit
						17ccabb38e
					
				| @ -1,4 +1,4 @@ | |||||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | # Copyright 2014-2016 Julian Ospald <hasufell@posteo.de> | ||||||
| # Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 | ||||||
| 
 | 
 | ||||||
| SUMMARY="Fast Library for Number Theory" | SUMMARY="Fast Library for Number Theory" | ||||||
| @ -15,16 +15,14 @@ DEPENDENCIES=" | |||||||
| 	    dev-libs/mpfr | 	    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_COMPILE_PARAMS=( verbose ) | ||||||
| DEFAULT_SRC_TEST_PARAMS=( AT= QUIET_CC= QUIET_CXX= QUIET_AR= ) | 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() { | src_configure() { | ||||||
|     # NOT an autotools script |     # NOT an autotools script | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user