This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANN] Updated: gmp-4.1.3


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Faylor wrote:
> I'm going to exercise executive privilege and give this a +3 vote.  We
need
> this package in the distribution.

Do you actualyl need a vote, even if it is "only" an upgrade of an
existing package? ;-)

<http://www.cygwin.com/packages/gmp/>

> Anyone want to review packaging?

But in fact packaging is changed quite a bit (work mainly done by
Gerrit, as I said).
Pretty standard "method 2", except an hack I had to do to permit its use
in any directory (only method to solve a bug that Gerrit found, and I
have found nothing better even if I tried, was to put in an absolute
path, in order to build in a directory different from the autoreconf
one; as the m4 script kinda modifies itself)

This solves in 2 patches:
in prep():
sed -e "/^[+]/s|THIS_IS_THE_ABSOLUTE_SCRDIR|${srcdir}|" < ${src_patch}
and in mkpatch():
sed -e "/^[+]/s|${srcdir}|THIS_IS_THE_ABSOLUTE_SCRDIR|"
Of course if the package is prep()area in one directory, then moved,
then built, it won't work.
But should work in most cases, when no ones moves it around between
prep() and conf() phase.

Lapo

- --
L a p o   L u c h i n i
l a p o @ l a p o . i t
w w w . l a p o . i t /
http://www.megatokyo.it
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkECNGoACgkQaJiCLMjyUvtYNwCggrRHtQVc4+fHZfG+KgMmUeFN
14wAnRMHveqhSIPtoMQ4N39Q0vUiRATB
=nYeC
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]