From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 19:19:34 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82E0847A for ; Wed, 18 Jun 2014 19:19:34 +0000 (UTC) Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DD2D2717 for ; Wed, 18 Jun 2014 19:19:33 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id q58so1352913wes.16 for ; Wed, 18 Jun 2014 12:19:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=KyiEeqjfrJHF2kpkxfH6wziQKggyw/8JmjNu3k8PWj8=; b=YTjc+K83QwTSLxPoI50t+6UG0kWR64gngRqeAZHTjJUG+2tECE8C+/bOHx7uOapWn0 O8IeqlE+CquClwNswo7vBAToMsgW2xyPAI6X94ztOu/OHRfF2XUj2RsWsy4EMJl0RfdO UOQ+d5m3ZoadP02InR3RoA5U47VFaupQ+0JfjhArnRpgBBfUUYbj6a1oBxU4t+rk0ZyG GNtO8ydZ0E0kWD0q8rrqB1Y7cc7WauUogsgJyXMQ1d4lnVJynj/mTff4/fQuGqe6dLIJ cwoRPNTNQ8h466nd+zdHviKWfQedx0dkbk5BrybGGzpT0E0fWpQJGeys8GylZI5k7PGp A9NA== X-Gm-Message-State: ALoCoQmgToF6T91BttH13Nmn+k3hWapjpA8ZuxDCMJmFNaeaVdiqD80BP+8LRVG3FzcbMpLuXRyg X-Received: by 10.195.12.34 with SMTP id en2mr75995wjd.13.1403119171672; Wed, 18 Jun 2014 12:19:31 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id b44sm7135281eem.45.2014.06.18.12.19.30 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Jun 2014 12:19:31 -0700 (PDT) Message-ID: <53A1E642.4090008@freebsd.org> Date: Wed, 18 Jun 2014 23:19:30 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: ports@FreeBSD.org Subject: Is there a way to check that other port have an option set? Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2014 19:19:34 -0000 I mean, from the port's Makefile. pkg info PORT_NAME + grep comes in mind, but it is not backward compatible with pre-NG system (do we need to keep backward compatibility now?) and I am not sure that it is the most right/light-weighted way. Proper thing will be not to check other port and exit, if option is not set, but rebuild other port with needed option only, added automatically. Any ideas? -- http://ache.vniz.net/