I’ve attached a new patch that uses a preprocessor macro. Is that what you were looking for? If not, please give me some direction.
Attachment:
pkg_install.diff
Description: Binary data
> 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