From owner-freebsd-ports@FreeBSD.ORG Fri Sep 14 12:42:27 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 408BB106566C for ; Fri, 14 Sep 2012 12:42:27 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id DC8FF8FC12 for ; Fri, 14 Sep 2012 12:42:26 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=references :in-reply-to:mime-version:content-transfer-encoding:content-type :message-id:cc:from:subject:date:to; q=dns; s=sweb; b=AHSNXXkIba MDaVfH4Tqg2YuCf7OloeU0ECEKZXDKzcxnkgqNfUFB9+41PJuEVjD9zJmu+GXG24 iENavg8ezdz/vSC44XDcOYHxiHRwjGiARlvMFnRvese83N9rNhV8EExt2NXN4FdH fyjMehgKuplMsHPQPpSqeyCDIM7i/CZb0= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=references :in-reply-to:mime-version:content-transfer-encoding:content-type :message-id:cc:from:subject:date:to; s=sweb; bh=jRBLpfyNFn+zZ9BZ 6vWXTrC71RcleUujO/6ihjtuyRw=; b=RhTypbvmYx9Oag6MtdKZHKnGXz0gLA1e 2tG4K/J/1hl8vNH1Pl6y0fCl9oFTpPSHK/502oX5Sk51kTChLmU0gJq6gi3dgH68 hKhC6amZGceZwEAwtyqodar9S/PRQWPEzJtAKsPbgwC7ToTSr7u50PdsOM0JbxAQ 7LEF0p9p0D4= Received: (qmail 81146 invoked from network); 14 Sep 2012 07:42:24 -0500 Received: from unknown (HELO ?10.10.0.124?) (bryan@shatow.net@10.10.0.124) by sweb.xzibition.com with ESMTPA; 14 Sep 2012 07:42:24 -0500 References: <491558969.20120914162505@serebryakov.spb.ru> In-Reply-To: <491558969.20120914162505@serebryakov.spb.ru> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: <264A72D5-997D-4DF1-84B8-545A72C4710D@shatow.net> X-Mailer: iPhone Mail (9B206) From: Bryan Drewery Date: Fri, 14 Sep 2012 07:42:21 -0500 To: "lev@FreeBSD.org" Cc: "freebsd-ports@freebsd.org" Subject: Re: Negative port option test? 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, 14 Sep 2012 12:42:27 -0000 .if empty(PORT_OPTIONS:MOPTION) && ${PORT_OPTIONS:MOPTION} Is If not set and is set Sent from my iPhone On Sep 14, 2012, at 7:25, Lev Serebryakov wrote: > Hello, Freebsd-ports. > > How to express "option is not set" with new options style? I need > complex condition like "OPT1 is set and OPT2 doesn't". It could be > expressed as two nested .if's (when .else branch of inner is only > used), but it looks ugly. > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > 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"