Date: Mon, 8 Apr 2024 23:59:27 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: ports@freebsd.org Subject: Re: gmake-4.4.1 has a performance regression: at least the science/nwchem project now builds much slower Message-ID: <20240408235927.8001db0ed5ff21c12a0a91a6@dec.sakura.ne.jp> In-Reply-To: <ZhPjPrSd1dcxLAZn@lorvorc.mips.inka.de> References: <2D9B0CE0-4657-4C8F-BDEE-48225BC899CF.ref@yahoo.com> <2D9B0CE0-4657-4C8F-BDEE-48225BC899CF@yahoo.com> <55e1a296-60c4-4c2f-ad05-cdf0ae5348b1@FreeBSD.org> <hhu3hsrz6toy5js27ryxg7azc6pm7miut4bfzmzrnoiewrmoga@tueowykuchqm> <SI2PR01MB5036CA275513E25A458117A3FA3A2@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <20240330091421.04bd6b0790910cbf797b8f21@dec.sakura.ne.jp> <ZhPjPrSd1dcxLAZn@lorvorc.mips.inka.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Apr 2024 14:29:50 +0200 Christian Weisgerber <naddy@mips.inka.de> wrote: > Tomoaki AOKI: > > > Possibly I'm overlooking something in Porter's Handbook, but is there a > > proper and generic way that builds/installs some build dependencies > > under ${WRKDIR} and use it, without installing into the bare-metal > > environment? > > Yes, you can use BUILD_DEPENDS=${NONEXISTENT}:foo/bar:stage. > > See net/relayd or security/dsniff. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de Thanks! Is it described somewhere in the Porter's Handbook? If yes, clearly I've overlooked. If no, it should be described somewhere within Chapter 4-6, 12 or 13 in the Porter's Handbook. # Why I've included Chapter 12 "Security"? It's because avoiding any of # BUILD_DEPENDS would be usually the deppendency is known to be vulnerable # and so not desireble to be installed into bare-metal environment. but # still mandatory to build the port. Such BUILD_DEPENDS should be marked # as CONFLICT_INSTALL to all ports. This use case should be benefical regardless # its fundamental messes on build resources. # Another use case I can imagine is to override OPTIONS to build specific # port alone. Regards. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240408235927.8001db0ed5ff21c12a0a91a6>