pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] fix OS release identification in pkg_install on aix
The function that my patch modifies (check_platform) uses OPSYS_NAME to identify the OS, so that’s what I used. In this case, and for the sake of consistency, shouldn’t my patch use OPSYS_NAME too?
> On Feb 19, 2016, at 4:43 AM, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>
> On Fri, Feb 19, 2016 at 12:37:04AM -0600, J Raynor wrote:
>> pkg_install doesn't correctly identify the OS release on aix, leading
>> to the following warning when installing a package:
>
> Right, it was puzzling and noone could ever tell me to properly identify
> the AIX version :)
>
>> I've attached a patch that fixes the problem.
>
> Instead of matching OPSYS_NAME, please use the appropiate preprocessor
> macros to identify AIX.
>
> Joerg
Home |
Main Index |
Thread Index |
Old Index