From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 06:36:38 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 97C72106564A; Fri, 20 Jul 2012 06:36:38 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E6FD38FC12; Fri, 20 Jul 2012 06:36:37 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3210513bkc.13 for ; Thu, 19 Jul 2012 23:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=eY5CNecd5IaE0XW6BPYuCcAKXAuRnpy5f10ll0d1InE=; b=dhWb1TYNDjSkwevsd+2EKw52XPJtPScGPf4Y9nvqj1ufmm3L3qBBF7nEGihjyUCRhm /pPJsxCzW/Kh4IocBkagJ44lEHaNZkOz2QMwsHyh3OmvrvHW92PhtD93kb/S7zlH6x38 L+Pl4UX4YCkWxzmjvruusOqiDSr9NHC/aK6Fd5tTxFXd0E1Qo0HjfQW6lV7/uJJONLRK s2PEUvE6uS8nD642ZSY4CUFtVDvrrWkBDWWV7EkVYMeOXLaUx/mVh3XKTQYTBg8rLkTS MxAtCejErBGUpPUkiiTAn9JyKZ909hMEqTnwt9C9v2asbcHgE5YF592MCOHnA/8JQeRq iw9Q== Received: by 10.205.133.11 with SMTP id hw11mr2206704bkc.46.1342766196605; Thu, 19 Jul 2012 23:36:36 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.49.87 with HTTP; Thu, 19 Jul 2012 23:36:06 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Fri, 20 Jul 2012 07:36:06 +0100 X-Google-Sender-Auth: MpHDKIsk66VeakUYpX-0o639ONQ Message-ID: To: Sunpoet Hsieh Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, Alexey Kouznetsov , 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 06:36:38 -0000 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