From owner-freebsd-ports@freebsd.org Thu Aug 11 14:09:14 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FB43BB6293 for ; Thu, 11 Aug 2016 14:09:14 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1BFC14EB for ; Thu, 11 Aug 2016 14:09:13 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pa0-x230.google.com with SMTP id i5so1292311pat.2 for ; Thu, 11 Aug 2016 07:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=voZ102tHKSag9I6V+QQRAsGvlKnuZdd6JtKb9J0pYgM=; b=CZdCFlDlTr954K2tvxf4h5jBTl0Aii+AWr25gL3sSlQO46BjTSuV7PM5y6KU6utfvE t2BRZPvLGxZBY1G5hXzYM5ll3RK2jj2zwxlAEwoHXrZvbN6TCQBKoQHQIQs3xhjhS/B4 5+Cf4U+rQlNoItMQYUHAlEVjrM+foxdutb2/ibHxk6/EdN76wke6tzYU/CT2myCaeqr0 Gd4XF3N3ejuxuyjanAEW6ZlJGoJ0tpeWyK5rr+6ZcTSW0WTxCNRXcWPRifixmh7RbXXD l5xyuoYL8KaGsci11Im0pS//iN4/Ak75AYyPNeZqz909M5qV2FDIUpBo3pODZC0CJymx Vs3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=voZ102tHKSag9I6V+QQRAsGvlKnuZdd6JtKb9J0pYgM=; b=B5db5oTat9yc68M5ax3VY5SPdJN0gYl1MzqUwjCTJ92Wa8LxYllj8/aEgz1mvp+hCI IJOWCyldqDa69VgvmYpU8qZ8AXiOv+yD7AfU5hZXabJyCnuhDajijlYWBYz1dxY9UqYN 6qRdsGq8vMJ0VF9f4LLVogacsHeHxUwOXzNf9JVU+qnjrheeTmpWgme0l9L8ZZE2od8Z ANhOMIlAtKSmbTGWWdZ15fCtGKbMGCukUDegAOn3CIeJVyFB3Lf46dvZifS7cpDZJoK2 nUYEAxPct60RYoQAe42xohNcFYXXJFQNWsQ/295PI6GU6Ev70CaNoHa4LW80Uxyl7lV/ KfkQ== X-Gm-Message-State: AEkooutUAsEq3oJ0sdmo6qMwk0pYn8R+96r2xeInUkGEUBwy9cAdilbFpIidQLZNKXmxeQ== X-Received: by 10.66.132.105 with SMTP id ot9mr17756686pab.88.1470924553313; Thu, 11 Aug 2016 07:09:13 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea? (2001-44b8-31ae-7b01-f985-3c4b-2a0c-8bea.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea]) by smtp.gmail.com with ESMTPSA id j2sm5762339paa.46.2016.08.11.07.09.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 07:09:12 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Port Makefile Automatically enable option References: <98c35602-bfdd-2c2b-04ea-b5b9343233c5@utanet.at> To: Walter Schwarzenfeld , freebsd-ports@freebsd.org From: Kubilay Kocak Message-ID: <2c4aa7a3-4cb1-1de0-d947-6745d380fa6f@FreeBSD.org> Date: Fri, 12 Aug 2016 00:09:06 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Thunderbird/50.0a2 MIME-Version: 1.0 In-Reply-To: <98c35602-bfdd-2c2b-04ea-b5b9343233c5@utanet.at> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 14:09:14 -0000 On 12/08/2016 12:01 AM, Walter Schwarzenfeld wrote: > Is there a command to "automatically" enables an option if another > option need it? As a user, there's probably some make.conf shell foo you could create. As a porter/maintainer, within the same port: OPTION_IMPLIES=OPTION There is a corresponding OPTION_PREVENTS helper as well Implying/Requiring an OPTION in another port, no.