Baptiste Daroussin <b...@freebsd.org> wrote:

> On Mon, Jun 09, 2014 at 12:16:01PM +0200, Fabian Keil wrote:
> > I'm looking for a way to let "pkg add" install packages that are
> > known to work but supposedly have the "wrong" architecture:
> > 
> > root@privoxy-jail / #pkg
> > add /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz Installing
> > ImageMagick-6.8.0.7_7,1...Installing libXrender-0.9.8_2...Installing
> > libX11-1.6.2_2,1...Installing kbproto-1.0.6...pkg: wrong architecture:
> > freebsd:10:x86:64 instead of freebsd:11:x86:64
> > 
> > Failed to install the following 1
> > package(s): /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz
> > 
> > I prefer not to recompile the port just to bump a version field
> > that doesn't matter.
> > 
> > Any suggestions?

> env ABI=freebsd:10:x86:64 pkg add
> 
> this will just work

Thanks a lot.

Unfortunately that causes the freebsd:11:x86:64 packages to be
rejected, but "env ABI= pkg add ..." just works.

Fabian

Attachment: signature.asc
Description: PGP signature

Reply via email to