Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 18:46:57 +0400
From:      Alexey Kouznetsov <alexey@kouznetsov.com>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   port DNS/UNBOUND
Message-ID:  <CAGd9aGCzwVzzcxtybOXKHQwjdtfX8RvM6167p9v25X3yp_fV3Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGd9aGCzwVzzcxtybOXKHQwjdtfX8RvM6167p9v25X3yp_fV3Q>