From owner-freebsd-ports@freebsd.org Wed Aug 23 02:12:49 2017 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 207E8DD1613 for ; Wed, 23 Aug 2017 02:12:49 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 03F0C826FF for ; Wed, 23 Aug 2017 02:12:48 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:46997] helo=localhost) by dnvrco-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 8B/5A-25924-D54EC995; Wed, 23 Aug 2017 02:11:41 +0000 Date: Wed, 23 Aug 2017 02:11:36 +0000 Message-ID: <8B.5A.25924.D54EC995@dnvrco-omsmta02> From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Synth and circular dependencies References: <30.03.31699.752AB995@dnvrco-omsmta03> <201708220330.v7M3UJeJ026761@gw.catspoiler.org> <20170822122523.28de2ad2@gumby.homeunix.com> X-RR-Connecting-IP: 107.14.64.7:25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 02:12:49 -0000 from Jonathan Chen: > On 22 August 2017 at 18:34, Thomas Mueller wrote: [...] > > I believe Synth and poudriere have no means for setting options. That should be enough impetus to make it easier to bypass the dialog4ports entirely. > >From the synth man page: > -make.conf > This is an optional, user-provided file. If it exists, > the builder's /etc/make.conf will be appended with the > contents of this file. For the default profile, the > file would normally be located at > /usr/local/etc/synth/LiveSystem-make.conf > All you need to do is to convert your /var/db/ports/* options into > make.conf style options and put it into LiveSystem-make.conf. > Works for me. At this stage, I think I don't want to ever again see a dialog4ports! How do I convert /var/db/ports/* options into make.conf-style options in a reasonable amount of time? I don't (yet) have a LiveSystem-make.conf apart from /etc/make.conf, but I have /usr/local/etc/synth/synth.ini I see (running "less" on this file) [Global Configuration] [LiveSystem] Directory_packages= /var/synth/live_packages Directory_repository= /var/synth/live_packages/All Directory_portsdir= /BETA1/usr/ports Directory_options= /var/db/ports Directory_distfiles= /BETA1/usr/ports/distfiles Directory_buildbase= /usr/obj/synth-live Directory_logs= /var/log/synth Directory_ccache= disabled Directory_system= / Number_of_builders= 6 Max_jobs_per_builder= 4 Tmpfs_workdir= true Tmpfs_localbase= true Display_with_ncurses= true leverage_prebuilt= false occurring four times, the latter three being verbatim repeats of the first. Now I want to get rid of the Directory_options line, should I delete the line or should I change "/var/db/ports" to "/dev/null"? Or just move /var/db/ports to /var/db/ports2, which I intend to do anyway? What if synth finds /var/db/ports no longer there? Tom