Re: port DNS/UNBOUND
20.07.2012 10:36, Chris Rees пишет: On 20 July 2012 05:07, Sunpoet Hsieh wrote: 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 Quite correct, and I've filed such in a PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170007 Thanks for noticing Alexey! Chris I'm on vacation now. Could you commit it please? Thank you. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: port DNS/UNBOUND
On 20 July 2012 05:07, Sunpoet Hsieh wrote: > 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 > Quite correct, and I've filed such in a PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170007 Thanks for noticing Alexey! Chris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: port DNS/UNBOUND
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 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Sunpoet Po-Chuan Hsieh 4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B http://people.FreeBSD.org/~sunpoet/pgpkeys.txt ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: port DNS/UNBOUND
Hi Alexy, Can you submit a PR with an appropriate patch? Thanks! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
port DNS/UNBOUND
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"