Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 02:22:40 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Adam Weinberger <adamw@FreeBSD.ORG>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: What is bsd.port.mk ?
Message-ID:  <20021105021124.W87446-100000@earl-grey.cloud9.net>
In-Reply-To: <20021104080426.GF197@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Nov 2002, Adam Weinberger wrote:
> > # pwd
> > /stuff/mutella
> >
> > (I had to manually download each of the following since the adding the .tar
> > trick did not -- as usual -- work!)

What I meant by that was the "trick" where you can use the command "fetch"
to request a directory.tar and it basically tars on the fly.  For example,
`fetch ftp://ftp.freebsd.org/branches/current-/ports/etc/somedirectory.tar`

> > # 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.

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.

> > # 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:

I'm not sure I want my ports to work, just one specific port at a time.

> # 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

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.

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105021124.W87446-100000>