summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-11-26 11:32:13 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-11-26 11:32:13 +0100
commit9bb92259285c0ef8d145162c922c66d2b9c0f023 (patch)
tree197957e56be52bfbd10fdcdbcf53245282eabfb5 /dev-lang/oorexx
parentnet-proxy/haproxy-dataplaneapi: drop 2.9, 3.0.1 (diff)
downloadgentoo-9bb92259285c0ef8d145162c922c66d2b9c0f023.tar.gz
gentoo-9bb92259285c0ef8d145162c922c66d2b9c0f023.tar.bz2
gentoo-9bb92259285c0ef8d145162c922c66d2b9c0f023.zip
dev-lang/oorexx: use largefile workaround for musl
Bug: https://bugs.gentoo.org/908398 Closes: https://bugs.gentoo.org/924171 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/oorexx')
-rw-r--r--dev-lang/oorexx/oorexx-5.0.0.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-lang/oorexx/oorexx-5.0.0.ebuild b/dev-lang/oorexx/oorexx-5.0.0.ebuild
index 73538a1b9325..217c32aea9d5 100644
--- a/dev-lang/oorexx/oorexx-5.0.0.ebuild
+++ b/dev-lang/oorexx/oorexx-5.0.0.ebuild
@@ -3,9 +3,9 @@
EAPI=8
-APP_REVISION=12583
+APP_REVISION="12583"
-inherit cmake
+inherit cmake flag-o-matic
DESCRIPTION="Open source implementation of Object Rexx"
HOMEPAGE="https://www.oorexx.org/about.html
@@ -35,3 +35,12 @@ src_unpack() {
mkdir -p "${WORKDIR}" || die
mv "${T}/${P}" "${S}" || die
}
+
+src_configure() {
+ # bug 924171
+ if use elibc_musl ; then
+ append-cppflags -D_LARGEFILE64_SOURCE
+ fi
+
+ cmake_src_configure
+}