Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 16:15:59 +0100
From:      Quentin SCHWERKOLT <develloper.unix@hotmail.fr>
To:        Alex Keda <admin@lissyara.su>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   RE: [PKGNG] where I can find $ABI?
Message-ID:  <BAY002-W820F0C2F3BFEC3FBE7E9B484170@phx.gbl>
In-Reply-To: <50FD5B1E.3030001@lissyara.su>
References:  <50FD3DB9.7070103@lissyara.su>, <20130121132859.GB7122@ithaqua.etoilebsd.net>, <50FD5B1E.3030001@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
pkg -vv | grep abi | cut -d' ' -f2

Cordially
Q. Schwerkolt

> Date: Mon=2C 21 Jan 2013 19:13:34 +0400
> From: admin@lissyara.su
> To: freebsd-ports@freebsd.org
> Subject: Re: [PKGNG] where I can find $ABI?
>=20
> 21.01.2013 17:29=2C Baptiste Daroussin =D0=C9=DB=C5=D4:
> > On Mon=2C Jan 21=2C 2013 at 05:08:09PM +0400=2C Alex Keda wrote:
> >> I create my own repository.
> >> but=2C $ABI I create as:
> >> v1=3D`uname -s | tr "[:upper:]" "[:lower:]"`
> >> v2=3D`uname -r | awk -F '.' '{print $1}'`
> >> v3=3Dx86
> >> v4=3D`sysctl -n hw.machine_arch | tr -d "[:alpha:]"`
> >> ABI=3D"$v1:$v2:$v3:$v4"
> >> (for example)
> >>
> >> may be add some key to pkg command=2C for output pkg_get_myabi() resul=
t?
> >
> > okg -vv should output you ABI
> >
> > If you want to get the information out of a package pkg info -fF mypkg.=
txz |
> > grep "^arch:" Should output the ABI for you
> >
> > regards=2C
> > Bapt
> >
> OK=2C thanks
> pkg -vv | grep abi | awk '{print $2}'
> help me
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe=2C send any mail to "freebsd-ports-unsubscribe@freebsd.org=
"
 		 	   		  =



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