The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Things look quiet here. But I've been doing a lot of blogging at dan.langille.org because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

Shortcut for compiling from CD-ROM 18 March 1999
Need more help on this topic? Click here
This article has no comments
Show me similar articles
This section shows you how to make a symbolic link which will make your port building from CD-ROM much faster.

That said, I couldn't make this work.  I think perhaps you also need the port skeltons.  But I'm not sure.  Good luck  You may wish to refer to the FreeBSD Handbook to see how to install a port from CD-ROM.

Changing /etc/make.conf
According to the documentation in the handbook (see the link above), I added the following to /etc/make.conf:
PORTSDIR=     /cdrom/ports
DISTDIR=      /tmp/distfiles
WRKDIRPREFIX= /tmp
Creating the link
# mkdir /usr/ports
# cd /usr/ports
# mount /cdrom
# ln -s /cdrom/ports/distfiles distfiles

Now all you need to do to build a port is:

# mount /cdrom
# cd /usr/ports/net/isc-dhcp2
# make
# make install

Share
Need more help on this topic? Click here
This article has no comments
Show me similar articles