diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild')
-rw-r--r-- | sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild b/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild index 5de399e78f8a..fb35881b936e 100644 --- a/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild +++ b/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild @@ -11,15 +11,22 @@ MYP=${MYPN}-${PV} DESCRIPTION="Double precision SIMD-oriented Fast Mersenne Twister library" HOMEPAGE="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT" SRC_URI="https://github.com/MersenneTwister-Lab/dSFMT/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYP}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -S="${WORKDIR}/${MYP}" +PATCHES=( + "${FILESDIR}"/${P}-cc.patch +) soname="lib${MYPN}.so" +src_configure() { + tc-export CC +} + src_compile() { emake CCFLAGS="${CFLAGS}" $(tc-getCC) -fPIC -shared -DDSFMT_SHLIB -DDSFMT_DO_NOT_USE_OLD_NAMES ${LDFLAGS} ${CFLAGS} -Wl,-soname=${soname} -o ${soname} ${MYPN}.c || die |