This is the mail archive of the cygwin-apps 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: [ITP] chicken-4.9.0.1


On Dec 10 15:31, Christian Kellermann wrote:
> * Corinna Vinschen <corinna-cygwin@cygwin.com> [141210 14:58]:
> > > Thanks I will have a look. What's the cygwin way of detecting whether
> > > we build for 32 or 64 bit? I'd use that to switch options then.
> > 
> > ${ARCH} is i686 or x86_64.  Or you can test like this:
> > 
> >   if defined ARCH_i686
> >   then
> >     ...
> >   fi
> >   if defined ARCH_x86_64
> >   then
> >     ...
> >   fi
> 
> Thanks for all your help!
> 
> Here's an updated version of the cygport file including your suggestion:
> 
> --8<---------------cut here---------------start------------->8---
> # package name
> NAME="chicken"
> VERSION=4.9.0.1
> RELEASE=1
> 
> # setup.hint generation
> CATEGORY="interpreters"
> SUMMARY="A practical and portable scheme system."
> DESCRIPTION="A practical and portable scheme system.
> CHICKEN is a compiler for the Scheme programming language. CHICKEN
> produces portable and efficient C, supports almost all of the R5RS
> Scheme language standard, and includes many enhancements and
> extensions."
> 
> REQUIRES="make gcc-core gcc-g++"
> 
> # source and patch files
> SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz";
> MAKEOPTS="PLATFORM=cygwin"
> 
> 
> 
> 
> src_compile() {
> 	lndirs
> 	cd ${B}
> 	if defined ARCH_i686
> 	then
> 		CHICKEN_ARCH="x86"
> 
> 	fi
> 	if defined ARCH_x86_64
> 	then
> 	        CHICKEN_ARCH="x68-64"
                              ^^^
                              this looks wrong.

If you want upload rights for your packages as soon as they are GTG,
please follow the instructions at
https://sourceware.org/cygwin-apps/package-upload.html


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpxv2QuMzv3z.pgp
Description: PGP signature


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