Skip to content

Commit

Permalink
ebd: update EAPI 8 --disable-static rule per PMS update
Browse files Browse the repository at this point in the history
Update the EAPI 8 --disable-static to be emitted when either
--disable-static or --enable-static occurs in configure --help output.
This is necessary to handle libtool packages correctly, and this is how
it was initially implemented in Portage.  PMS is being updated to match.

Bug: https://bugs.gentoo.org/814368
  • Loading branch information
mgorny committed Sep 27, 2021
1 parent f5fa26b commit 6c57606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebd/eapi/8/src_configure.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ __econf_options_eapi8() {
if [[ $1 == *"--datarootdir"* ]]; then
echo "--datarootdir=${EPREFIX}/usr/share"
fi
if [[ $1 == *"--disable-static"* ]]; then
if [[ $1 == *"--disable-static"* || $1 == *"--enable-static"* ]]; then
echo "--disable-static"
fi
}

0 comments on commit 6c57606

Please sign in to comment.