From owner-freebsd-stable@freebsd.org Wed Jun 10 17:03:01 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9C534339FEE for ; Wed, 10 Jun 2020 17:03:01 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49htbS5pLhz4HDc for ; Wed, 10 Jun 2020 17:03:00 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-lf1-x130.google.com with SMTP id c21so1893642lfb.3 for ; Wed, 10 Jun 2020 10:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=+jNW3e79hsXxwYxxM8MvWC0uqhNCrGR4iGUfGC9KySU=; b=HoCUopm5kis6+DDUCdGFvWM2F7GJ+lKdsIQVEApaBxMPRqLJpDrxF6/bBUQ+bANVug fCwXTA2R8seXQhUKB1MTMuh6iiotlPtY+F2sLQnvCB97DUjlCzcSp6lzbvqc4E7nZDmj IFRoyZmpw3zUqqNqTx2Ijd1isjjp8HSDVg2QCY8ThujRmIFEB/G1XKFJ1y80tHHFWR77 0UGPRPqERpZJOKRfG12h/a+mucNd5eW4nBcOOHhTE8Ut0zxqJmXu39AROM4khYCriGM2 DuCOlpymjpVUaohSxpAQI+L6rbPAppXAQYOEa0KuVc3fhn/+adqfBMKLLZYlib74gh7t ieZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=+jNW3e79hsXxwYxxM8MvWC0uqhNCrGR4iGUfGC9KySU=; b=It97xwtZw4z0n73BF/j3SvFlZ35Fy8r9K1ZLBasW/AX6ihwZvANejH9t8Rn5vbQPgp UKg+xcxf4Pn3cBT6tRWfEPUmy8vu3LFDhHsm/bLoX55aeINaFGIuAUe5dJD1YGN/7Rgm oDmQi5ZgTVDGbbjdX9vE0wmheX1/81TRgA3h2B0XKplGTAGTylkJoLYSn+mWX1uF/DVj CIEdLn/KcjM4dPsBH2VtCcwmNgs0hgMqpJQpflC3otmGsrDw6gODGll3aQ4AWbrMp2qk fPyV0N7xUZVGLrQd0vjSSsqJa4vAOYKrt6x5xOCSWLtWv3ZytcQlRY6CEARvuUORpPvV vnNw== X-Gm-Message-State: AOAM531gUhtAg5PJ1/Md/LNeihCpQ+69tzh7OccZF8S8zOUQsQm5fMZ8 pEwuvb31ttMxEWZYmSEMCEeLQIvdq3vKKoN96W7zaEhXs4A= X-Google-Smtp-Source: ABdhPJxUo4p9ZtjOXEnXDmpfILGC9mPTvmPGGxdt2vUQJKoJU3vMvz6EjUkAAqVaiDPqGXoCvmNbvPoLatylEzWfSlc= X-Received: by 2002:a19:2358:: with SMTP id j85mr2234893lfj.182.1591808577768; Wed, 10 Jun 2020 10:02:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:47:0:0:0:0 with HTTP; Wed, 10 Jun 2020 10:02:57 -0700 (PDT) Reply-To: dwilde1@gmail.com In-Reply-To: <532a39a3-37f6-920b-68c3-9b0559ebdaaa@infracaninophile.co.uk> References: <20200610102415.GC4411@lonesome.com> <6e3db110-eadf-d8a5-030d-4f9ca10e945e@freebsd.org> <532a39a3-37f6-920b-68c3-9b0559ebdaaa@infracaninophile.co.uk> From: Donald Wilde Date: Wed, 10 Jun 2020 10:02:57 -0700 Message-ID: Subject: Re: question on porting To: freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49htbS5pLhz4HDc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HoCUopm5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-2.32 / 15.00]; HAS_REPLYTO(0.00)[dwilde1@gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.75)[-0.753]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.88)[-0.876]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.31)[0.310]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::130:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2020 17:03:01 -0000 On 6/10/20, Matthew Seaman wrote: > On 10/06/2020 15:51, Donald Wilde wrote: >> Okay, it didn't work, but discovered INDEX-12 in /usr/ports, so >> ' grep gcc INDEX-12 | wc -l ' worked. >> >> Such an interesting file, INDEX-12. More research needed. Is it not >> INDEX-13 because I did ' make index' instead of ' make fetchindex ' ? > > You should always get an index matching the major version of the OS > you're using, whether you fetch something pre-built or make you own. > Makes sense! Obviously a lot of you guys are "STABLE-ising" 13 now! >>> Memo to self: figure out what basic options are supported in >>> Makefiles, especially in/usr/ports/, and make clear documentation >>> patches (if needed). :D >>> >> /self thinks this is all probably in the Porter's Handbook, but the >> regular Handbook should have some of it. > > The ports(7) man page probably has a lot of what you're looking for. > Okay! > There's a 'make search' command which is a wrapper around grepping in > the INDEX file that you might find interesting. > > For your use case, try: > > cd /usr/ports > make search bdeps=gcc display=name > > which returns 3241 results when I tried it just now. > Oh, that is interesting too. Figures that FreeBSD Project would have THE most powerful c/c++ make infrastructure out there! i am impressed. This is so much better than Ubuntu, even with Synaptic for its ports. Although I am experimenting with a GUI on the mule, all interaction will eventually be ssh in the intended configuration. Thanks to you all! I think I consider this [SOLVED] for now. Will keep learning! :D -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************