On Fri, Jun 21, 2002 at 04:05:14PM +0200, Ralf S. Engelschall wrote:
> On Fri, Jun 21, 2002, Michael Schloh wrote:
>
> > [...]
> > BuildPreReq: OpenPKG, openpkg >= 20020206, tar
> > PreReq: OpenPKG, openpkg >= 20020206
> > [...]
> > CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
> > CFLAGS="%{l_cflags -O}"
> > case "%{l_target}" in
> > *-freebsd* ) CFLAGS="$CFLAGS -pthread" ;;
> > *-solaris* ) CFLAGS="$CFLAGS -pthreads" ;;
> > esac
> > [...]
>
> Be careful here. You are not requiring "gcc" in "BuildPreReq" so your
> CC can be an arbitrary compiler. And so it is not allowed to force
> particular CC-dependent CFLAGS.
>
> Additionally, is it really true that this is rather old PGP 2.x depends
> on Pthreads? I'm wondering...
I agree with your observations, although I added the pthreads with slim hopes
of threading PGP. In any case, all the problems you mentioned are also in the
original (not classic) PGP OpenPKG package from which I copied lines from. I
guess I should change that one too.
Regards,
Michael
--
[EMAIL PROTECTED]
Development Team, Application Services
Cable & Wireless Deutschland GmbH
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]