handling of src paths to files in ports/
Mike Frysinger
vapier@gentoo.org
Mon Apr 16 20:26:00 GMT 2012
On Monday 16 April 2012 15:46:31 Andreas Schwab wrote:
> Mike Frysinger writes:
> > as i said in the intro, the current $dest value is relative to the top of
> > the builddir.
>
> You are right. It should be using $dir instead.
ah, stupid me. i completely missed the "dir" variable in the loop logic in
the main configure file.
how about in the main loop, having it do:
--- a/configure.in
+++ b/configure.in
@@ -2088,7 +2088,10 @@
esac
if test -r $dest/configure; then
AC_MSG_RESULT(running configure fragment for $dir)
+ srcdir=$dir
+ builddir=$dir
. $dest/configure
+ unset srcdir builddir
fi
done
this way the variables "dir" and "dest" don't become coded into the
sysdep/configure "API"
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120416/81b9c264/attachment.sig>
More information about the Libc-alpha
mailing list