Major version changes using portupgrade?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Dec 5 10:40:15 UTC 2011
On 04/12/2011 20:07, Matthew Pounsett wrote:
> On 2011/12/04, at 14:13, Matthew Seaman wrote:
>
>> > 4) Now for the updating bit. I'm going to use portmaster's '-o'
>> > functionality to swap out the postgresql versions. (portupgrade
>> > has very similar functionality if you prefer that.) postgresql
>> > is trickier than most, because there have to be both -server and
>> > -client ports to deal with. I also have postgresql-contrib-9.0.5
>> > installed, which isn't critical but needs similar treatment.
>> > Everything depends on the -client port, so we start with that:
>> >
>> > # portmaster -o databases/postgresql91-client \
>> > postgresql-client-9.0.5
>> > # portmaster -o databases/postgresql91-server \
>> > postgresql-server-9.0.5_1
>> > # portmaster -o databases/postgresql91-contrib \
>> > postgresql-contrib-9.0.5
> This is the problem bit. The -o doesn't work with the ones I'm
> dealing with because of conflicts between 8.4 and 9.1. 9.1 *won't
> even build*. If you can find a way to get around that, then you can
> make life even easier for yourself by doing a recursive build of all
> of the things that depend on the client. It's getting around the
> conflict that I'm trying to figure out... the rest is handled.
Not a problem with portmaster(1) -- it automatically adds
DISABLE_CONFLICTS to the make environment if you're using the '-o' flag.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111205/45e5dc51/signature.pgp
More information about the freebsd-questions
mailing list