From owner-freebsd-questions Mon Nov 4 0: 2:36 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 63E3737B401 for ; Mon, 4 Nov 2002 00:02:34 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6C0043E88 for ; Mon, 4 Nov 2002 00:02:33 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (cb821c4768e59c7284942c61c4be6bf1@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gA484Rit034805; Mon, 4 Nov 2002 00:04:27 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gA484Qwb034804; Mon, 4 Nov 2002 00:04:27 -0800 (PST) (envelope-from monkey) Date: Mon, 4 Nov 2002 00:04:26 -0800 From: Adam Weinberger To: Peter Leftwich Cc: FreeBSD Questions LIST Subject: Re: What is bsd.port.mk ? Message-ID: <20021104080426.GF197@vectors.cx> References: <20021103235021.N4171-100000@dhcp-407-32.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20021103235021.N4171-100000@dhcp-407-32.san.rr.com> 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.03.2002 @ 2352 PST): Peter Leftwich said, in 0.9K: << > # pwd > /stuff/mutella > > (I had to manually download each of the following since the adding the .tar > trick did not -- as usual -- work!) > > # ls -al > total 12 > drwxr-xr-x 2 root wheel 512 Nov 3 23:49 . > drwxr-xr-x 34 root wheel 2560 Nov 3 23:49 .. > -rw-r--r-- 1 root wheel 650 Nov 3 23:48 Makefile > -rw-r--r-- 1 root wheel 62 Nov 3 23:48 distinfo > -rw-r--r-- 1 root wheel 31 Nov 3 23:48 pkg-comment > -rw-r--r-- 1 root wheel 174 Nov 3 23:48 pkg-descr > -rw-r--r-- 1 root wheel 3317 Nov 3 23:48 pkg-plist 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. > # make > "/usr/share/mk/bsd.port.mk", line 4: Could not find /usr/ports/Mk/bsd.port.mk > make: fatal errors encountered -- cannot continue > > What is bsd.port.mk, where can I get it or pkg_add it, then am I all set? 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: # 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. If you have a ports-all supfile, you can issue the following: cvsup /path/to/supfile -i ports/Mk cvsup /path/to/supfile -i ports/net/mutella If you can't/won't diagnose what's wrong when you try new things, it's best not to invent tricks. - -Adam - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9xioKo8KM2ULHQ/0RAq+lAJ9vCq5jQCMSaI5+vm9wbEfQnLGC+gCfRxrH 3npk0vSRNgYFJfEoeebVC48= =I54m -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message