aboutsummaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2024-08-01 00:01:04 +0100
committerMark Harmstone <mark@harmstone.com>2024-08-01 00:01:04 +0100
commit7332d26856d9e7ee6d8b1499c309b84015dde686 (patch)
treebf40d0b133f120b9ccb7f418bea79bfad8c7197f /sys-fs
parentsci-physics/openmodelica: add patch description (diff)
downloadguru-7332d26856d9e7ee6d8b1499c309b84015dde686.tar.gz
guru-7332d26856d9e7ee6d8b1499c309b84015dde686.tar.bz2
guru-7332d26856d9e7ee6d8b1499c309b84015dde686.zip
sys-fs/fsverity-utils: add static-libs USE flag
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index 9dbcd8b68..f76f7a44c 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
LICENSE="MIT"
SLOT="0"
+IUSE="static-libs"
+
DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"
@@ -31,4 +33,8 @@ src_compile() {
src_install() {
emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+
+ if ! use static-libs ; then
+ rm "${ED}/usr/$(get_libdir)/libfsverity.a"
+ fi
}