FindPage
View Source:
KnowledgeBase/FreeBSD/CentralSources
Note:
You are viewing an old version of this page.
View the current version.
Commands: <verbatim> mkdir /mnt/src mount -t smbfs //guest@server/src /mnt/src mount -t nullfs /mnt/src/FreeBSD/RELENG_8_0/src /usr/src mount -t nullfs /mnt/src/FreeBSD/ports /usr/ports mkdir -p /var/ports/distfiles </verbatim> fstab: <verbatim> //guest@alba/src /mnt/src smbfs ro 0 0 /mnt/src/FreeBSD/RELENG_8_0/src /usr/src nullfs ro 0 0 /mnt/src/FreeBSD/ports /usr/ports nullfs ro 0 0 </verbatim> Ports really loves building things in-tree. Doesn't really work with a read-only ports tree. make.conf: <verbatim> # Read-only ports tree DISTDIR=/var/ports/distfiles WRKDIRPREFIX=/usr/obj </verbatim> Workdir will be ${WRDKIRPREFIX}/${PWD}/work, so /usr/obj/usr/ports/sysutils/screen/work/ for sysutils/screen. Won't interfere with buildworld/buildkernel this way.