summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/fortify-headers/fortify-headers-9999.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/sys-libs/fortify-headers/fortify-headers-9999.ebuild b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
index 27b835004a56..d272815bf352 100644
--- a/sys-libs/fortify-headers/fortify-headers-9999.ebuild
+++ b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
@@ -1,14 +1,20 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-EGIT_REPO_URI="https://github.com/jvoisin/fortify-headers"
-inherit git-r3
-
-DESCRIPTION="A standalone implementation of fortify source"
+DESCRIPTION="Standalone implementation of fortify source"
HOMEPAGE="https://github.com/jvoisin/fortify-headers"
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/jvoisin/fortify-headers"
+ inherit git-r3
+else
+ FORTIFY_COMMIT=""
+ SRC_URI="https://github.com/jvoisin/fortify-headers/archive/${FORTIFY_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
+fi
+
LICENSE="ISC"
SLOT="0"