Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 22:46:51 -0800
From:      "Bruce A. Mah" <bmah@FreeBSD.ORG>
To:        Jason R Mastaler <jason@mastaler.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: problem manipulating ports programatically 
Message-ID:  <200011220646.eAM6kpD21104@bmah-freebsd-0.cisco.com>
In-Reply-To: <x7itpgr588.fsf@aguirre.la.mastaler.com> 
References:  <00112117191502.01897@nightshade> <200011220342.eAM3gop19783@bmah-freebsd-0.cisco.com> <x7itpgr588.fsf@aguirre.la.mastaler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-778465320P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Jason R Mastaler wrote:
> "Bruce A. Mah" <bmah@FreeBSD.ORG> writes:
> 
> > Ummm.  pkg_version(1) was designed to do the first part.
> 
> "Ummm."?

Because it sounded to me like you were re-inventing the wheel, a wheel
that's been in the tree since about 3.3-RELEASE.  Sorry if that's not
quite true.

> This is about as useful as my `pkg_info -aI | cut -d "-" -f 1' for
> what I wanted to do.

Well, sort of.  Consider what happens if you have multiple versions of 
a particular port installed.  The classic examples I always use are Tcl 
and Tk, but ssh and some of the docbook ports work too.  Compare this 
with 'pkg_version -v'.

> > sobomax devised a way to do just this, which is almost in place now
> > (we need a commit to bsd.port.mk).
> 
> Great, can't wait.

Me neither; I've been using a hacked up copy of bsd.port.mk for about
two months now.  :-)  At least we got all the other stuff committed to 
4-STABLE, so that people running 4.2-RELEASE but have a cvsup-ed ports 
tree will have the right things happen automatically.

Cheers,

Bruce.



--==_Exmh_-778465320P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE6G2vb2MoxcVugUsMRAre4AJ4uPXmfYtlYPCv4N+kvKU4CPrRLOwCgiLys
799fDAT8jNl5oFDkPkSo010=
=dU7R
-----END PGP SIGNATURE-----

--==_Exmh_-778465320P--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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