From owner-freebsd-questions Tue Nov 5 0:58:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2078E37B401 for ; Tue, 5 Nov 2002 00:58:47 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A07443E3B for ; Tue, 5 Nov 2002 00:58:46 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (aff21797b89c9f2f70e3c70a90354d96@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gA590git043622; Tue, 5 Nov 2002 01:00:42 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gA590gw3043621; Tue, 5 Nov 2002 01:00:42 -0800 (PST) (envelope-from monkey) Date: Tue, 5 Nov 2002 01:00:42 -0800 From: Adam Weinberger To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: What is bsd.port.mk ? Message-ID: <20021105090042.GL197@vectors.cx> References: <20021104080426.GF197@vectors.cx> <20021105021124.W87446-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20021105021124.W87446-100000@earl-grey.cloud9.net> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (11.04.2002 @ 2322 PST): Peter Leftwich said, in 2.7K: << > > Which tar trick are you referring to? Apparently you have chosen not to > > download an entire ports tree, which is fine, but you could have just > > done a "locate bsd.port.mk" on a machine that DOES have a ports tree. > > I was referring to the trick that saves you from having to ftp in using w3m > or lynx and manually saving each of the above, as I had to, above. You mean "just checking out a ports tree?" That trick works for me 100% of the time. > > The files in /usr/ports/Mk are what makes the ports tree work. The > > Makefile that you downloaded there is just a list of options that > > bsd.port.mk uses to build the ports. > > > > You need the bsd.*.mk framework to make your ports work. You can just > > cvsup the ports-base collection. From the ports-supfile example that > > came with your installation of FreeBSD: > > I'm not sure I want my ports to work, just one specific port at a time. Uhm, Peter, trust me. You asked how to make it work, and I told you. You *need* the ports-base collection. It will not work without the ports-base collection. The ports-base collection is required for any port build to work. Build collection required ports-base is any the for work port to. I can't say it many more ways ::) > > # Be sure to ALWAYS cvsup the ports-base collection if you use any of the > > # other individual collections below. ports-base is a mandatory collection > > # for the ports collection, and your ports may not build correctly if it > > # is not kept up to date. Read that paragraph. It was taken from the ports-supfile example. > > If you can't/won't diagnose what's wrong when you try new things, it's best > > not to invent tricks. > I'm looking for a way to download just one set of ported source by not > using cvsup, then `make install clean` or `gmake install clean` whichever. You must have the ports-base collection for that to work. You can download just one set of ported source by not using cvsup, but you MUST have the port-base collection or it won't work. And you never need to use gmake when building a port. Let the port decide whether to use GNU make or not. - -Adam - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9x4i5o8KM2ULHQ/0RAj7PAKCnvRS8tJZasVW0HXcihpJXGvObQwCglvAr 0/nX4affhPTGUozvse57YsM= =U2R8 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message