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: cygport: automatically adding --srcdir to cygconf cmdline breaks build

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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