diff -ur smlnj-110.60-orig/debian/rules smlnj-110.60-new/debian/rules
--- smlnj-110.60-orig/debian/rules	2007-02-04 17:22:12.000000000 -0500
+++ smlnj-110.60-new/debian/rules	2007-02-03 16:42:05.000000000 -0500
@@ -143,7 +143,10 @@
 # to open those .cm files from the wrong directories, failing with ENOENT,
 # yet sml gives out no errors.  Maybe it's silently broken?
 # In any case, I'm making some symlinks so that sml finds the files.
-	find debian/ -regex '.*\/.cm/[^/]*unix/[^/]*\.cm' -exec sh -c 'cd `dirname {}`../.. && ln -s .cm/*unix/`basename {}` .' ';'
+#	find debian/ -regex '.*\/.cm/[^/]*unix/[^/]*\.cm' -exec sh -c 'cd `dirname {}`../.. && ln -s .cm/*unix/`basename {}` .' ';'
+
+# install base pathconfig rules to smlnj-runtime package
+	install -m 644 config/extrapathconfig $(CURDIR)/debian/smlnj-runtime/usr/lib/smlnj/lib/pathconfig
 
 binary-common:
 	dh_testdir
diff -ur smlnj-110.60-orig/debian/smlnj-runtime.postrm smlnj-110.60-new/debian/smlnj-runtime.postrm
--- smlnj-110.60-orig/debian/smlnj-runtime.postrm	2007-02-04 17:22:12.000000000 -0500
+++ smlnj-110.60-new/debian/smlnj-runtime.postrm	2007-02-04 12:06:21.000000000 -0500
@@ -3,7 +3,7 @@
 set -e
 
 if [ "$1" = "purge" ] ; then
-    rm /usr/lib/smlnj/lib/pathconfig
+    rm -f /usr/lib/smlnj/lib/pathconfig
 fi
 
 #DEBHELPER#
