This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport: automatically adding --srcdir to cygconf cmdline breaks build
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 2 Aug 2013 19:48:34 +0200
- Subject: Re: cygport: automatically adding --srcdir to cygconf cmdline breaks build
- References: <20130802143229 dot GH4166 at calimero dot vinschen dot de> <51FBDA9C dot 3050901 at users dot sourceforge dot net>
- Reply-to: cygwin-apps at cygwin dot com
On Aug 2 11:13, Yaakov (Cygwin/X) wrote:
> On 2013-08-02 09:32, Corinna Vinschen wrote:
> >The configury consists of a non-autoconf configure file in the toplevel
> >dir, which disallows to build outside the source tree. But I have to
> >use it to get a `all in one go' configure/make run.
>
> This is explicitly mentioned in the cygconf section of the manual:
>
> >cygconf is intended for configure scripts generated by, or compatible with,
> >autoconf. Packages with handwritten configure scripts may not accept all
> >the flags used by cygconf, in which case a direct call to the configure
> >script is in order.
>
> So change this:
>
> > src_compile() {
> > cd ${S}
> > lndirs
> > cd ${B}
> > cygconf --enable-shared
> > cygmake
> > }
>
> to something like (depending on what options this configure actually
> accepts):
>
> src_compile() {
> lndirs
> cd ${B}
> ./configure --sysconfdir=/etc --prefix=/usr || error "configure failed"
> cygmake
> }
Ok, thanks.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat