dev-libs/skyutils: Add missing || die

Minor: DEPEND newline, move RESTRICT where it is expected

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
pull/180/head
Andreas Sturmlechner 2 years ago
parent d51277c0b5
commit 471d363f55
  1. 11
      dev-libs/skyutils/skyutils-2.9.ebuild

@ -6,9 +6,6 @@ EAPI="7"
inherit flag-o-matic autotools
# Don't use Gentoo mirrors
RESTRICT="mirror"
DESCRIPTION="Library of assorted C utility functions"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="https://mirror.amdmi3.ru/distfiles/${P}.tar.gz"
@ -18,7 +15,11 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="ssl libressl"
DEPEND="ssl? (
# Don't use Gentoo mirrors
RESTRICT="mirror"
DEPEND="
ssl? (
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
)"
@ -34,7 +35,7 @@ S="${WORKDIR}/${PN}"
src_prepare() {
default
mv "${S}"/configure.in "${S}"/configure.ac
mv "${S}"/configure.in "${S}"/configure.ac || die
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac \
|| die 'failed to rename AM_CONFIG_HEADER macro'

Loading…
Cancel
Save