|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
I don't know why you'd want to have to have multiple src trees (cross-compiling for another system?) But you shouldn't have to chance the base. inside /var/db/sup is a checkout file. Mine ends in RELENG_8 (8.0-STABLE, which I run.) I imagine it'd generate a second file if you supped HEAD.
I don't know about how well the src would divide in the /usr folder though, you might have to set two different prefixes (although I don't know) ports also won't matter here because you'll want to be tracking HEAD for the ports tree. When you specify anything else (e.g. RELENG_8_0_0_RELEASE) you're getting the ports tree as it existed when 8.0-RELEASE was frozen to be put on CD/ftp for distribution. Going to need someone else to comment on the /prefix with two src trees though. I've never done it :P I've never tried to cross-compile a different version of FreeBSD. |
|
||||
Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
so what about If I we're going to plan install ports in different location, eh
/foo/ports? I remember that there's some files like "bsd.port.mk" that is included in the porting, and for example this file contaions a line of code like : Code:
PORTSDIR?= /usr/ports . . . DISTDIR?= ${PORTSDIR}/distfiles _DISTDIR?= ${DISTDIR}/${DIST_SUBDIR} INDEXDIR?= ${PORTSDIR} what should I do to this situation? Do I need to change all Code:
Mk or it up to csup/CVsup ?
__________________
mehrshad moslehi ---- vigol ---- vigolyas |
|
|||
IMHO, you are asking for trouble
If I would have to maintain three versions, I would install these different FreeBSD versions each on a different slice/MBR partition. At boot time select wich version and off you go. Life is already difficult enough, make it as easy as you can for the few circumstances that you can control
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GCC in src tree or in ports tree | vigol | FreeBSD Ports and Packages | 2 | 6th December 2009 04:34 PM |
strange "~" directory in home directory | gosha | OpenBSD General | 5 | 23rd February 2009 06:12 PM |
Upgrading linux base distribution? | ivanatora | FreeBSD General | 11 | 1st August 2008 03:48 PM |
howto change 'uname -a' after base system U/G | fallen | FreeBSD Installation and Upgrading | 8 | 16th July 2008 01:24 AM |
reinstalling parts of the base system? | Business_woman | FreeBSD Installation and Upgrading | 3 | 13th July 2008 01:56 AM |