mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/libetonyek: Dumb down dev-util/mdds pseudo slot detection
The previous solution was not that smart after all. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
This commit is contained in:
@@ -46,15 +46,19 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mdds installs versioned pkgconfig files
|
||||
local p=$(best_version dev-util/mdds)
|
||||
local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev)
|
||||
econf \
|
||||
--disable-werror \
|
||||
--with-mdds=$(ver_cut 1-2 ${pv}) \
|
||||
$(use_with doc docs) \
|
||||
$(use_enable static-libs static) \
|
||||
local myeconfargs=(
|
||||
--disable-werror
|
||||
$(use_with doc docs)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
if has_version ">=dev-util/mdds-1.4"; then
|
||||
myeconfargs+=( --with-mdds=1.4 )
|
||||
else
|
||||
myeconfargs+=( --with-mdds=1.2 )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -39,15 +39,19 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mdds installs versioned pkgconfig files
|
||||
local p=$(best_version dev-util/mdds)
|
||||
local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev)
|
||||
econf \
|
||||
--disable-werror \
|
||||
--with-mdds=$(ver_cut 1-2 ${pv}) \
|
||||
$(use_with doc docs) \
|
||||
$(use_enable static-libs static) \
|
||||
local myeconfargs=(
|
||||
--disable-werror
|
||||
$(use_with doc docs)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
if has_version ">=dev-util/mdds-1.4"; then
|
||||
myeconfargs+=( --with-mdds=1.4 )
|
||||
else
|
||||
myeconfargs+=( --with-mdds=1.2 )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user