port DNS/UNBOUND
Sunpoet Hsieh
sunpoet at sunpoet.net
Fri Jul 20 04:08:15 UTC 2012
Hi,
You can use ".if empty(PORT_OPTIONS:Mfoo)" to check if option "foo" is
off. Try this:
.if empty(PORT_OPTIONS:MTHREADS)
CONFIGURE_ARGS+=--without-pthreads
.endif
Regards,
sunpoet
On Thu, Jul 19, 2012 at 10:46 PM, Alexey Kouznetsov
<alexey at kouznetsov.com> wrote:
> Hello!
>
> After port was moved to new NGoptions this is inpossible to compile port
> with threads enabled. make always adds --without-pthreads undepended on
> setings in make config
>
> At Makefile we have
> .if empty(${PORT_OPTIONS:MTHREADS})
> CONFIGURE_ARGS+=--without-pthreads
> .endif
>
> and resulted configure with THREADS enabled from config.log:
> $ ./configure --with-ssl=/usr --disable-gost --disable-ecdsa
> --with-libevent=/usr/local --without-pthreads --prefix=/usr/local
>
> I changed this to
> .if !${PORT_OPTIONS:MTHREADS}
> CONFIGURE_ARGS+=--without-pthreads
> .endif
>
> and as result I have not --without-pthreads in configure parameters anymore
> and unbound started as multithread program
>
> Could you, please, change the port ?
>
> Thank you
> /Alexey
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
More information about the freebsd-ports
mailing list