pkg-config - pkgconf [portupgrade UPDATING entries]

Pieter Donche Pieter.Donche at ua.ac.be
Sat Jul 28 14:57:37 UTC 2012


Hi Bryan,

Before I do execute the instruction yuo mention, I want to check the 
following:

# grep pkg-config /var/db/pkg/*/*
gives two lines per (very many...) packages, such as e.g.
ImageMagick-6.7.7.7_1/+CONTENTS:@pkgdep pkg-config-0.25_1
ImageMagick-6.7.7.7_1/+CONTENTS:@comment DEPORIGIN:devel/pkg-config

# pkg_info | grep pkg-config
pkg-config-0.25_1   A utility to retrieve information about installed 
libraries

# pkg_info | grep pkgconf
nothing

I just want to be sure this is a valid status  BEFORE I do the
  portupgrade -fo devel/pkgconf pkg-config-\*
instruction ...

Will that instruction make change the change from @pkgdep 
pkg-config-0.25_1  into  @pkgdep pkgconf-0.8.3  in the +CONTENTS file
of a packages (and also the @comment line ?)

Also, will the package pkg-config-0.25_1 automatically be deleted (e.g. at 
the first package compiled during portugprade) and replaced by the package
pkgconf-0.8.3 ?

I understand pkgconf is meant to replace pkg-config? right?


I just want to know to be able to possibly verify things before I do the 
portugprade (some 40 packages waiting to be updated, 50 on another server 
...)

Pieter

\_______________
/ Pieter Donche \____________________________________________
| Dept. Mathem. & Computer Science, University of Antwerp    \
| http://www.win.ua.ac.be    pieter(dot)donche(at)ua.ac.be   |
| (UA) Middelheimlaan 1, B 2020 Antwerpen,      BELGIUM (EU) |
| room G1.16,      tel +32 03.265.3870, fax +32 03.265.3777  |
|____________________________________________________________|

On Sat, 28 Jul 2012, Bryan Drewery wrote:

> On 7/28/2012 7:32 AM, Baptiste Daroussin wrote:
>> On Sat, Jul 28, 2012 at 02:22:06PM +0200, Pieter Donche wrote:
>>> No, after
>>> env DISABLE_CONFLICTS=yes portupgrade -o devel/pkgconf -f devel/pkg-config
>>>
>>> it says nothing ...
>>> and
>>> # pkg_info | grep pkg-config
>>> pkg-config-0.25_1   A utility to retrieve information about installed
>>> libraries
>>> shows it is still there
>>>
>>> # pkg_info | grep pkgconf
>>> (no output)
>>>
>>
>
> The UPDATING entry had:
>
>    portupgrade -o devel/pkgconf devel/pkg-config
>
> However, portupgrade is not automatically converting devel/pkg-config to
> pkg-config-0.25_1 here since the port was deleted / MOVED.
>
> Using the pkgname fixes this issue.
>
>    portupgrade -fo devel/pkgconf pkg-config-\*
>
> If MOVING a port, please use the above pattern (including -f) in
> UPDATING entries for portupgrade.
>
> If just switching origins, like perl5.12->perl5.14, the origin is fine.
>
> I've logged this issue for later reconsideration:
> https://github.com/pkgtools/pkgtools/issues/36
>
> Regards,
> Bryan Drewery
>
>


More information about the freebsd-ports mailing list