From owner-freebsd-ports@freebsd.org Wed Aug 23 02:44:33 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 9C263DD387B for ; Wed, 23 Aug 2017 02:44:33 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FA0B83372 for ; Wed, 23 Aug 2017 02:44:31 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id cbc2022c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 22 Aug 2017 20:44:29 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Synth and circular dependencies From: Adam Weinberger In-Reply-To: <8B.5A.25924.D54EC995@dnvrco-omsmta02> Date: Tue, 22 Aug 2017 20:44:28 -0600 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <30.03.31699.752AB995@dnvrco-omsmta03> <201708220330.v7M3UJeJ026761@gw.catspoiler.org> <20170822122523.28de2ad2@gumby.homeunix.com> <8B.5A.25924.D54EC995@dnvrco-omsmta02> To: Thomas Mueller X-Mailer: Apple Mail (2.3273) 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:44:33 -0000 > On 22 Aug, 2017, at 20:11, Thomas Mueller wrote: >=20 > from Jonathan Chen: >=20 >> 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. >=20 >>> =46rom 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 >=20 >> 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. >=20 >> Works for me. >=20 > At this stage, I think I don't want to ever again see a dialog4ports! >=20 > How do I convert /var/db/ports/* options into make.conf-style options = in a reasonable amount of time? Make a script. The directory name is the option prefix. > I don't (yet) have a LiveSystem-make.conf apart from /etc/make.conf, = but I have=20 > /usr/local/etc/synth/synth.ini >=20 > I see (running "less" on this file) >=20 > [Global Configuration] >=20 >=20 > [LiveSystem] >=20 > Directory_packages=3D /var/synth/live_packages > Directory_repository=3D /var/synth/live_packages/All > Directory_portsdir=3D /BETA1/usr/ports > Directory_options=3D /var/db/ports > Directory_distfiles=3D /BETA1/usr/ports/distfiles > Directory_buildbase=3D /usr/obj/synth-live > Directory_logs=3D /var/log/synth > Directory_ccache=3D disabled > Directory_system=3D / > Number_of_builders=3D 6 > Max_jobs_per_builder=3D 4 > Tmpfs_workdir=3D true > Tmpfs_localbase=3D true > Display_with_ncurses=3D true > leverage_prebuilt=3D false >=20 > occurring four times, the latter three being verbatim repeats of the = first. >=20 > 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? >=20 > What if synth finds /var/db/ports no longer there? Just move everything out of it. That directory starts off empty anyway. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org