tech-pkg archive

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

SHLIB_EXT, print-PLIST, ruby?



I saw a bunch of commits about SHLIB_EXT.  This seems generally a good
thing, so not a complaint.

I had some code to switch dylib/so for gpsd, and obviously that should
be cleaned up to use SHLIB_EXT in PLIST.

I would expect that print-PLIST would recognize e.g.

  lrwxr-xr-x  1 root  wheel      16 May 14 07:30 /usr/pkg/lib/libgps.so -> libgps.so.30.0.0
  lrwxr-xr-x  1 root  wheel      16 May 14 07:30 /usr/pkg/lib/libgps.so.30 -> libgps.so.30.0.0
  -rwxr-xr-x  1 root  wheel  144512 May 14 07:30 /usr/pkg/lib/libgps.so.30.0.0

and turn them into portable entries like

  lib/libgps.${SHLIB_EXT}
  lib/libgps.${SHLIB_EXT}.30
  lib/libgps.${SHLIB_EXT}.30.0.0

but this seems not to happen.  Instead I get

  lib/libgps.${RUBY_DLEXT}
  lib/libgps.so.30
  lib/libgps.so.30.0.0

because apparently
  - ruby has a similar scheme, but it misfires on things that are not ruby
  - perhaps there isn't print-PLIST support


Am I missing something big, or are these just bugs to fix, or ?



Home | Main Index | Thread Index | Old Index