two gmakes were descending into `engines' directory at the save time:
===> Building for yate-4.3.0.p1
c++ -Wall -I. -I. -O2 -pipe -fPIC [...] -c main.cpp
gmake -C ./engine all
gmake -C ./engine all
gmake[1]: Entering directory `[...]/yate-4.3.0-1/engine'
As a result of this, produced `libyate.so.4.3.0' can be bogus, and will
fail to link against:
c++ -Wall -L/usr/local/lib -o yate -lpthread main.o libyate.so
libyate.so: undefined reference to
`TelEngine::DefaultLogic::DefaultLogic(char const*, int)'
libyate.so: undefined reference to
`TelEngine::ClientLogic::initStaticData()'
gmake: *** [yate] Error 1
To mitigate the problem, avoid dependency on phony `library' target, but
define build command for real libyate.so.4.3.0, and use it as dependency
instead.
- While here, adopt the new LIB_DEPENDS syntax, convert USE_GMAKE
- Drop GNU_CONFIGURE, implied by USE_AUTOTOOLS; sort the knobs a bit
- Do not overwrite few options' descriptions we have from the pool
- Pad the output when displaying pkg-message (by consistent with package)