From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 04:08:15 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A5871065673 for ; Fri, 20 Jul 2012 04:08:15 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1AF78FC16 for ; Fri, 20 Jul 2012 04:08:14 +0000 (UTC) Received: by obbun3 with SMTP id un3so5599537obb.13 for ; Thu, 19 Jul 2012 21:08:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=yB34tJ7AD91alNOHBMFWmHTmEhHlMnTzhlLfZ+c28x0=; b=T0WwdHSWOXnNwvn4e3vwVhPEtpccOL74Wlvw1ggwB4jR8fnEk3alp5BJtatkvMt6aa hVcUjsSrZWJfOruYhDfvuqfsZQb1ct3z76SMIEUgYn0PDCDOde74AFVPkp5CH51lFhCy 9oPozGGQPhYFamsy1ZoYMjboxR0k5gx2BTk16ltHcEAZhc3Wo/bexC9NvPRO4tX5gILT 55/ctJol/UaX9h/3jDvkazHM9UTFHlOm+QSqUTr2eFHYL9n5nhUAl+Nv/Ai2jak4woZh K6pQOEUYAaLSU87PriGZcVXGZmlb52uzWqOQS3Dcu5aSLy1EXqUc1OIQ8IiGtSFwEh7l 3htw== Received: by 10.182.88.9 with SMTP id bc9mr5164466obb.4.1342757294342; Thu, 19 Jul 2012 21:08:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.36.225 with HTTP; Thu, 19 Jul 2012 21:07:53 -0700 (PDT) In-Reply-To: References: From: Sunpoet Hsieh Date: Fri, 20 Jul 2012 12:07:53 +0800 Message-ID: To: Alexey Kouznetsov Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmmg0PAjiN9IA0YQ9XqJc4vC5mknUKDNj4K0G1x81+C1WGj+8LnOB2Fotzf9gtqEu1Xw9c/ Cc: ports@freebsd.org, Sergey Matveychuk Subject: Re: port DNS/UNBOUND X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 04:08:15 -0000 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-unsubscribe@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