Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7
Date: Mon, 06 Aug 2018 19:14:00
Message-Id: 23400.40429.732934.345187@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7 by Mike Gilbert
1 >>>>> On Mon, 6 Aug 2018, Mike Gilbert wrote:
2
3 > -DEPEND="virtual/pkgconfig"
4 > +if [[ ${EAPI} == [0123456] ]]; then
5
6 This should use ${EAPI:-0} because for EAPI 0 the variable can be
7 empty.
8
9 > + DEPEND="virtual/pkgconfig"
10 > +else
11 > + BDEPEND="virtual/pkgconfig"
12 > +fi

Replies

Subject Author
Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7 "Vadim A. Misbakh-Soloviov" <gentoo@×××.name>