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: Please update: GMP 4.1.3 for Cygwin


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

Gerrit P. Haase wrote:

> --- gmp-4.1.3-orig/acinclude.m4 2002-09-08 02:02:19.000000000 +0200
> +++ gmp-4.1.3/acinclude.m4      2004-05-24 13:25:47.395788800 +0200
> @@ -831,10 +831,10 @@
>  [[\\/]]* | ?:[[\\/]]* )  tmp="$srcdir"    ;;
>  *)                       tmp="../$srcdir" ;;
>  esac
> -echo ["define(<CONFIG_TOP_SRCDIR>,<\`$tmp'>)"] >>$gmp_tmpconfigm4
> +echo ["define(<CONFIG_TOP_SRCDIR>,</usr/src/gmp-4.1.3>)"]
>>$gmp_tmpconfigm4

Mhh, I don't understand why the original script shouldn't work (it had a
case/esac just to work in any case, I guess) but what the hell: I just
changed yours absolute path with mine and added a "dirty hack" to the
build script to have it current wherever you extract it:

prep() {
  ..
  fi && \
  sed -i -e "s|/home/lapo/packaging/gmp-4.1.3|${srcdir}|"
${srcdir}/acinclude.m4 ${srcdir}/configure ${srcdir}/mpn/asm-defs.m4 && \
  mkdirs )
}

OK, sorry for the delay.. but I had to finish a big paid work
(re-writing www.rockol.it from scratch, this time in PHP) and this had
to wait in line... anyway: I'm compiling it right now, after compile &
test finishes I'll do the usual announcement.

BTW in the README I included the following text, is that ok with you?

- ----- version 4.1.3-2 -----
Packaged using 4.1.3-1 by Gerrit P. Haase <gerrit@familiehaase.de>
as from <http://anfaenger.de/cygwin/cygwin-1.5/gmp/>
Upgraded build script and added dirty hack to let it work in any directory.

- --
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

iEYEARECAAYFAkD6ZrMACgkQaJiCLMjyUvuf/QCg6xKE993XFf+kt5fYw2eTJAXb
NwMAoMzApKK4X6skBr7tejRjvK4Fbkyt
=tLHd
-----END PGP SIGNATURE-----


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