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