pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

aix.mk check for /usr/vac/README



My box has:

aix%  lslpp -L|grep -i xlc
  xlC.aix61.rte             10.1.0.3    C     F    XL C/C++ Runtime for 
AIX 6.1
  xlC.cpp                    9.0.0.0    C     F    C for AIX Preprocessor
  xlC.msg.en_US.cpp          9.0.0.0    C     F    C for AIX Preprocessor
  xlC.msg.en_US.rte         10.1.0.3    C     F    XL C/C++ Runtime
  xlC.rte                   10.1.0.3    C     F    XL C/C++ Runtim

aix% oslevel 
6.1.0.0

--

Within xlc.mk, @line 53:

- .  elif exists(/usr/vac/README)
+ .  elif exists(/usr/vac/README.c)


On my system, the file is README.C
 
aix% ls /usr/vac/README* 
/usr/vac/README.C        /usr/vac/README.C.ja_JP  /usr/vac/README.C.zh_CN


Probably safe to to stat() for /usr/vac/README* (wildcard) and/or make 
line  adjust line # 53 into an || or statement to check for either 
instance.

Hard to rely on IBM to be consistent here.

-
Brian A Seklecki <bseklecki%fedex.com@localhost>
Systems Programmer
FedEx Services
(412) 859-2215 (o)
(412) 290-8059 (m/c)
(412) 378-3823 (m/p)


Home | Main Index | Thread Index | Old Index