mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/db: pass EPREFIX to --with-tcl path to fix prefix builds #592672
This commit is contained in:
@@ -92,7 +92,7 @@ src_compile() {
|
||||
myconf="${myconf} $(use_enable cxx)"
|
||||
|
||||
use tcl \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| myconf="${myconf} --disable-tcl"
|
||||
|
||||
myconf="${myconf} $(use_enable java)"
|
||||
|
||||
@@ -93,7 +93,7 @@ src_compile() {
|
||||
myconf="${myconf} $(use_enable cxx)"
|
||||
|
||||
use tcl \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| myconf="${myconf} --disable-tcl"
|
||||
|
||||
myconf="${myconf} $(use_enable java)"
|
||||
|
||||
@@ -87,7 +87,7 @@ src_compile() {
|
||||
myconf="${myconf} $(use_enable cxx)"
|
||||
|
||||
use tcl \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| myconf="${myconf} --disable-tcl"
|
||||
|
||||
myconf="${myconf} $(use_enable java)"
|
||||
|
||||
@@ -97,7 +97,7 @@ src_compile() {
|
||||
myconf="${myconf} $(use_enable cxx)"
|
||||
|
||||
use tcl \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| myconf="${myconf} --disable-tcl"
|
||||
|
||||
myconf="${myconf} $(use_enable java)"
|
||||
|
||||
@@ -90,7 +90,7 @@ src_compile() {
|
||||
myconf="${myconf} $(use_enable cxx)"
|
||||
|
||||
use tcl \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)" \
|
||||
&& myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| myconf="${myconf} --disable-tcl"
|
||||
|
||||
myconf="${myconf} $(use_enable java)"
|
||||
|
||||
@@ -104,7 +104,7 @@ src_compile() {
|
||||
# Bug #270851: test needs TCL support
|
||||
if use tcl || use test ; then
|
||||
myconf="${myconf} --enable-tcl"
|
||||
myconf="${myconf} --with-tcl=/usr/$(get_libdir)"
|
||||
myconf="${myconf} --with-tcl=${EPREFIX}/usr/$(get_libdir)"
|
||||
else
|
||||
myconf="${myconf} --disable-tcl"
|
||||
fi
|
||||
|
||||
@@ -118,7 +118,7 @@ multilib_src_configure() {
|
||||
if use tcl || use test ; then
|
||||
myconf+=(
|
||||
--enable-tcl
|
||||
--with-tcl=/usr/$(get_libdir)
|
||||
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
myconf+=(--disable-tcl )
|
||||
|
||||
@@ -125,7 +125,7 @@ src_configure() {
|
||||
# Bug #270851: test needs TCL support
|
||||
if use tcl || use test ; then
|
||||
myconf="${myconf} --enable-tcl"
|
||||
myconf="${myconf} --with-tcl=/usr/$(get_libdir)"
|
||||
myconf="${myconf} --with-tcl=${EPREFIX}/usr/$(get_libdir)"
|
||||
else
|
||||
myconf="${myconf} --disable-tcl"
|
||||
fi
|
||||
|
||||
@@ -136,7 +136,7 @@ multilib_src_configure() {
|
||||
if use tcl || use test ; then
|
||||
myconf+=(
|
||||
--enable-tcl
|
||||
--with-tcl=/usr/$(get_libdir)
|
||||
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
myconf+=(--disable-tcl )
|
||||
|
||||
@@ -134,7 +134,7 @@ multilib_src_configure() {
|
||||
if use tcl || use test ; then
|
||||
myconf+=(
|
||||
--enable-tcl
|
||||
--with-tcl=/usr/$(get_libdir)
|
||||
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
myconf+=(--disable-tcl )
|
||||
|
||||
@@ -134,7 +134,7 @@ multilib_src_configure() {
|
||||
if use tcl || use test ; then
|
||||
myconf+=(
|
||||
--enable-tcl
|
||||
--with-tcl=/usr/$(get_libdir)
|
||||
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
myconf+=(--disable-tcl )
|
||||
|
||||
@@ -139,7 +139,7 @@ multilib_src_configure() {
|
||||
if use tcl || use test ; then
|
||||
myconf+=(
|
||||
--enable-tcl
|
||||
--with-tcl=/usr/$(get_libdir)
|
||||
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
myconf+=(--disable-tcl )
|
||||
|
||||
Reference in New Issue
Block a user