pkg-config implementation error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pkg-config implementation error

hydronium
Apologies for the duplicate email. I had some issues posting with protonmail.

>Synopsis:      pkg-config modversion edge case is not implemented
>Category:      system
>Environment:
        System      : OpenBSD 6.7
        Details     : OpenBSD 6.7-current (GENERIC.MP) #198: Mon May 18 20:33:28 MDT 2020
                         [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        From the man page of pkg-config, if the command "pkg-config --modversion" is executed with no package argument, then pkg-config returns its own version. On the latest snapshot (and previous snapshots) an empty output is produced.
>How-To-Repeat:
        pkg-config --modversion
>Fix:
        Check if no package argument is given and print the version string (producing the same output as pkg-config --version).