Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2004 16:09:59 +0100
From:      Tim Bishop <tim-lists@bishnet.net>
To:        freebsd-ports@freebsd.org
Subject:   Port has different versions for different architectures...
Message-ID:  <20040601150959.GA83834@carrick.bishnet.net>

next in thread | raw e-mail | index | archive | help
Say a new version of a package has been released for one arcitecture,
but not others, how can this be dealt with in a port?

I'd want to do something _like_ this (but not this):

.if ${ARCH} == "i386"
PORTVERSION=1.1
.else
PORTVERSION=1.0
.endif

I'm sure there are numerous bodges to doing this in the port, but I
suspect this will break things such as the INDEX file.

A solution would be to maintain multiple versions of the same port, but
that seems like overkill. Unless slave ports are used?

Any thoughts?

Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim
PGP Key: 0x5AE7D984



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