Re: %configure assuming in-source-tree builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michel Salim wrote, at 06/23/2008 02:13 AM +9:00:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Some upstream developers recommend that their software (thinking of LLVM
and PLT Scheme, but there must be others) *not* be configured and built
at the top-level source directory (typically recommending using build/,
object/ or some such).

When this is needed, currently the Fedora packager has to revert to
calling the configure script directly, foregoing the %configure macro,
and copying as much of the configure settings by hand. Would it be a
desirable feature to, say, be able to declare

%define configure_relative_path ..

and then have %configure use the value of that instead of './' when
calling the actual configure script?

Thanks,

xscreensaver uses:

%build
archdir=`./config.guess`
mkdir $archdir
cd $archdir
.....
ln -s ../configure .
%configure $CONFIG_OPTS
rm -f configure

make %{?_smp_mflags}

Regards,
Mamoru

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux