mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-benchmarks/siege: remove /usr/lib from LDFLAGS
Signed-off-by: Andrea Cerisara <andreacerisara@gmail.com> Bug: https://bugs.gentoo.org/732886 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/17356 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -15,15 +15,21 @@ SLOT="0"
|
||||
IUSE="libressl ssl"
|
||||
|
||||
RDEPEND="ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# bundled macros break recent libtool
|
||||
sed -i -e '/AC_PROG_SHELL/d' configure.ac || die
|
||||
# remove /usr/lib from LDFLAGS, bug #732886
|
||||
sed -i \
|
||||
-e '/AC_PROG_SHELL/d' \
|
||||
-e 's/SSL_LDFLAGS="-L.*lib"/SSL_LDFLAGS=""/g' \
|
||||
-e 's/Z_LDFLAGS="-L.*lib"/Z_LDFLAGS=""/g' \
|
||||
configure.ac || die
|
||||
|
||||
rm *.m4 || die "failed to remove bundled macros"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user