Subject: elf vs a.out PLIST
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 06/19/2000 19:41:44
What is the "correct" way of handling a PLIST when the installed files are
different between ELF and a.out?  In particular, graphics/imlib installs
several extra files on ELF platforms:  The exta files are:

> lib/libimlib-bmp.a
> lib/libimlib-bmp.la
> lib/libimlib-bmp.so.0.0
> lib/libimlib-gif.a
> lib/libimlib-gif.la
> lib/libimlib-gif.so.0.0
> lib/libimlib-jpeg.a
> lib/libimlib-jpeg.la
> lib/libimlib-jpeg.so.0.0
> lib/libimlib-png.a
> lib/libimlib-png.la
> lib/libimlib-png.so.0.0
> lib/libimlib-ppm.a
> lib/libimlib-ppm.la
> lib/libimlib-ppm.so.0.0
> lib/libimlib-ps.a
> lib/libimlib-ps.la
> lib/libimlib-ps.so.0.0
> lib/libimlib-tiff.a
> lib/libimlib-tiff.la
> lib/libimlib-tiff.so.0.0
> lib/libimlib-xpm.a
> lib/libimlib-xpm.la
> lib/libimlib-xpm.so.0.0


Should I just put those in pkg/PLIST.elf and then do something like:

.if ${OBJECT_FMT} == "a.out"
PLIST_SRC=      ${PKGDIR}/PLIST.mi
.else
PLIST_SRC=      ${PKGDIR}/PLIST.mi ${PKGDIR}/PLIST.elf
.endif


Thanks for any suggestions

-Dan