summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-01-17 13:43:20 -0500
committerMike Gilbert <floppym@gentoo.org>2020-01-17 13:43:20 -0500
commit89f11c57a922ce1662a9053149161a589ced6645 (patch)
tree85a9748de84f68b380c9c3e237bc2bf75fb46e20 /sys-apps/sed/sed-4.8.ebuild
parentdev-python/pypy3: Get tests to pass (diff)
downloadgentoo-89f11c57a922ce1662a9053149161a589ced6645.tar.gz
gentoo-89f11c57a922ce1662a9053149161a589ced6645.tar.bz2
gentoo-89f11c57a922ce1662a9053149161a589ced6645.zip
sys-apps/sed: require static-libs when USE=static is enabled
Closes: https://bugs.gentoo.org/705580 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/sed/sed-4.8.ebuild')
-rw-r--r--sys-apps/sed/sed-4.8.ebuild18
1 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/sed/sed-4.8.ebuild b/sys-apps/sed/sed-4.8.ebuild
index b2801d707f75..3cf0562a1777 100644
--- a/sys-apps/sed/sed-4.8.ebuild
+++ b/sys-apps/sed/sed-4.8.ebuild
@@ -14,11 +14,21 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
IUSE="acl nls selinux static"
-RDEPEND="acl? ( virtual/acl )
- nls? ( virtual/libintl )
- selinux? ( sys-libs/libselinux )"
+RDEPEND="
+ !static? (
+ acl? ( virtual/acl )
+ nls? ( virtual/libintl )
+ selinux? ( sys-libs/libselinux )
+ )
+"
DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
+ nls? ( sys-devel/gettext )
+ static? (
+ acl? ( virtual/acl[static-libs(+)] )
+ nls? ( virtual/libintl[static-libs(+)] )
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
+ )
+"
src_configure() {
local myconf=()