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...
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to