Package: smlnj
Version: 110.60-1

I noticed that the version of /usr/lib/smlnj/lib/pathconfig included with the 110.60-1 package is missing several entries that are needed by many SML/NJ programs, including the examples that come with the smlnj package.

One way of getting around this would be to modify the postinst for each library (libsmlnj-smlnj, ml-yacc, etc.) to add the entries. Alternatively, an easier way of dealing with this is to ship a base version of the file in smlnj-runtime. I've attached a patch against 110.60-1 which does the latter. Packages built using this patch may be found at http://kilobyte.rcac.purdue.edu/ubuntu.

An additional problem fixed in this patch was the removal of the debian/rules entry that created symlinks with invalid destinations (at least, once they were installed, they became invalid).

Here are a few sample changelog entries.

 * debian/rules: Remove rule that litters the library path with
   broken symlinks.  Install a pathconfig file to use as a template so
   that directives commonly used in sources.cm files are resolved
   properly.
* debian/smlnj-runtime.postrm: Only remove /usr/lib/smlnj/lib/ pathconfig
   if it hasn't been removed already.  This fixes an error in
   postinstall.

Attachment: fix-smlnj-pathconfig.patch
Description: Binary data

Reply via email to