From owner-freebsd-ports@FreeBSD.ORG Fri Jun 7 19:10:01 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7564E899; Fri, 7 Jun 2013 19:10:01 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 445DB1F98; Fri, 7 Jun 2013 19:10:01 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 10so11841449ied.28 for ; Fri, 07 Jun 2013 12:10:00 -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=n5QpXiTtE5L2c6IBtJbH6xmRvOCXjchBBm4cD8P3dTg=; b=EqjleJPxlaOq4VX/3RqsW/wxCzH40qqt1bXQFmmSjqRGOUurbMdltSciGZ89d/h3mr /Esc+m3g9NoEuRohuqGVKQxs4KwlJ+QLNsLnGGQmDMUqZdoEyuA+lSuLb5Ievb9imgaE 8W50H98SJO1e9l1GQklT4bsTNCmlwt6EV/z9bn37vUPy75e2GM2CR/JxIUbi2ZcpXvmV AQbCP/J6mroL7UTyzB1USyLdysyF5576t6klkrckRyc2rQhysBX3wAocWekIj5gtc4Un pl4Mp3FlOOS7oJcp7jF3Zs7JInwfeGZwXsJ4ZDsQGo6rDOKL0rPNo/rFokhwnLKibJQV V4pQ== X-Received: by 10.50.118.69 with SMTP id kk5mr55382igb.36.1370632200898; Fri, 07 Jun 2013 12:10:00 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.71.101 with HTTP; Fri, 7 Jun 2013 12:09:30 -0700 (PDT) In-Reply-To: <20130607175537.GE9419@spamcop.net> References: <20130606064509.GI38896@ithaqua.etoilebsd.net> <20130607175537.GE9419@spamcop.net> From: Chris Rees Date: Fri, 7 Jun 2013 20:09:30 +0100 X-Google-Sender-Auth: SfVG-D_uxj7n1cHs-eci2snsKWk Message-ID: Subject: Re: Conversion to new options framework over To: Jim Trigg Content-Type: text/plain; charset=ISO-8859-1 Cc: "ports@freebsd.org" , Baptiste Daroussin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 19:10:01 -0000 On 7 June 2013 18:55, Jim Trigg wrote: > On Thu, Jun 06, 2013 at 08:45:10AM +0200, Baptiste Daroussin wrote: >> The compatibility code to parse the WITH/WITHOUT entries in make.conf >> will be removed in 6 months either. >> >> Do not forget to convert your configuration (make.conf, portsconf etc). >> A reminder will be send a month before the removal of the compatibility >> code. > > It would be useful to provide a pointer to instructions for doing so -- > what exactly replaces WITH/WITHOUT entries in make.conf? For example, > my dedicated server has WITHOUT_X11=yes in /etc/make.conf because it's > headless and doesn't run an X server. What should that become? > > I tried googling, and the github doc page's only mention of make.conf is > to add "WITH_PKGNG=yes". Likewise the FreeBSD Handbook. The wiki > apparently just points to the Handbook. WITH_PKGNG is not a classical OPTION, because it doesn't apply to any port in particular. There is some documentation for users at [1], basically you need to change any WITH_ variables to OPTIONS_SET=, and WITHOUT_ to OPTIONS_UNSET=. I'll hopefully find some time soon to get it in the Handbook.... For example; WITHOUT_X11=yes WITH_CUPS=yes WITHOUT_PULSEAUDIO=yes becomes OPTIONS_SET=CUPS OPTIONS_UNSET=PULSEAUDIO X11 Chris [1] https://wiki.freebsd.org/Ports/Options/OptionsNG#What_users_need_to_know