diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-11-15 10:11:49 +0100 |
---|---|---|
committer | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-11-15 10:26:30 +0100 |
commit | 17e968522e147ebcd5b813034d8cffe1a5d4acb1 (patch) | |
tree | 6928115479e197bd851767c7e163f06bb3157768 | |
parent | */*: Rename dev-python/{jinja → jinja2} (diff) | |
download | sci-17e968522e147ebcd5b813034d8cffe1a5d4acb1.tar.gz sci-17e968522e147ebcd5b813034d8cffe1a5d4acb1.tar.bz2 sci-17e968522e147ebcd5b813034d8cffe1a5d4acb1.zip |
sci-physics/qcdloop: add 2.0.11, drop 2.0.5
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
-rw-r--r-- | sci-physics/qcdloop/Manifest | 2 | ||||
-rw-r--r-- | sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch | 21 | ||||
-rw-r--r-- | sci-physics/qcdloop/qcdloop-2.0.11.ebuild (renamed from sci-physics/qcdloop/qcdloop-2.0.5.ebuild) | 21 |
3 files changed, 41 insertions, 3 deletions
diff --git a/sci-physics/qcdloop/Manifest b/sci-physics/qcdloop/Manifest index 84ca31226..df26327e6 100644 --- a/sci-physics/qcdloop/Manifest +++ b/sci-physics/qcdloop/Manifest @@ -1,2 +1,2 @@ -DIST qcdloop-2.0.5.tar.gz 199141 BLAKE2B b16c193bd267b838535a572dd3b1cf50ac9af03b65347877b550bcbdcc9cfdd42f08e198732c513cff8298632ea65be82f2986701de75cee80cec2f9c30e3368 SHA512 9bfa3bad7a8c808b2db5eda32a755da4dadf67eba10845eb798d447fd47062bd40aa877929b60d95ec6b4e3b4a2cbba6384a3d1b13f92cfdec06e76177532c0f +DIST qcdloop-2.0.11.tar.gz 215694 BLAKE2B 91d3729d06c6efb4a554c3f4f4936872e1e2545de4730c93ef177e7cf7439f0017f29e7fdf1f5e61125c65102cf275711b7a784b5b364cf6ecfb578f99b7abad SHA512 34f84f38ab4214297f168504e4758b0c862bbfe160d0ac4060dcdb692d3474f0f330949fa7d4e834d5eb8d05899111e4e8c41bea6c193a1887200498f6f4fb4f DIST qcdloop-2.0.9.tar.gz 214697 BLAKE2B 19d426cc61b8a8f08fc56522b5a2d48c7fea7027225e1317c2e2908b8a87367ff69077bfe5508ee50ee585d8d0f68ae4c1fdad312b4cbc73ca4f3fd735fa94c9 SHA512 c8031dbee1c83d2bd0fcca0b1d94f18e7d07b77c247ca7a15cfec9bc402391e89036a64507c48e743eeecb3a19fe25d4e766ff13ede9f042d4d723adc8adb238 diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch new file mode 100644 index 000000000..86275d338 --- /dev/null +++ b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch @@ -0,0 +1,21 @@ +From 2c316f000e83e56419709fe64b7627d4541ef5aa Mon Sep 17 00:00:00 2001 +From: Alexander Puck Neuwirth <APN-Pucky@users.noreply.github.com> +Date: Fri, 15 Nov 2024 10:19:40 +0100 +Subject: [PATCH] Add one more QUADMATH lookup path + +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b8820da..64bd4c3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -75,6 +75,7 @@ find_library(QUADMATH_LIBRARY + /usr/local/lib /usr/x86_64-linux-gnu/* + /usr/lib/gcc/x86_64-linux-gnu/* + /usr/lib/gcc/x86_64-redhat-linux/* ++ /usr/lib/gcc/x86_64-pc-linux-gnu/* + "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" + ) + diff --git a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild index 672957c56..f30ea4e12 100644 --- a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild +++ b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild @@ -16,12 +16,29 @@ SLOT="0" KEYWORDS="~amd64" PATCHES=( - "${FILESDIR}"/${P}-cxx.patch + "${FILESDIR}"/${P}-quadmathpath.patch # https://github.com/scarrazza/qcdloop/pull/31 ) +src_prepare() { + cmake_src_prepare + + # gentoo libdir love + sed -i \ + -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \ + CMakeLists.txt || die + sed -i \ + -e '/libdir.*/s/lib/lib${LIB_SUFFIX}/g' \ + CMakeLists.txt || die + + #sed -i \ + # -e '/qcdloop/s/SHARED/STATIC/g' \ + # CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${ESYSROOT}/usr/$(get_libdir)" + -DCMAKE_INSTALL_PREFIX="${ESYSROOT}"/usr + -DENABLE_FORTRAN_WRAPPER=ON ) cmake_src_configure } |