Fix breakage loading up clg-tools.
authorRupert Swarbrick <rswarbrick@gmail.com>
Mon, 2 Jan 2012 17:47:42 +0000 (17:47 +0000)
committerRupert Swarbrick <rswarbrick@gmail.com>
Mon, 2 Jan 2012 17:47:42 +0000 (17:47 +0000)
New ASDFs seem to have a featurep symbol which we were clashing
with. Shadow the import from pkg-config.

tools/asdf-extensions.lisp

index 016ff46..a6dd160 100644 (file)
@@ -1,6 +1,9 @@
 (in-package :asdf)
 
 (eval-when (:load-toplevel :compile-toplevel :execute)
+  ;; ASDF defines featurep, which we don't want to clobber. As such, shadow it
+  ;; here and then reference it with a pkg-config: prefix below.
+  (shadow :featurep)
   (use-package :pkg-config))
 
 (export '(*search-library-path-on-reload* *dso-extension*
@@ -60,7 +63,7 @@
        (pushnew (namestring-name namestring)
         *reload-shared-objects* :test #'string=)))))
 
-#?(or (sbcl< 1 0 22) (featurep :cmu))
+#?(or (sbcl< 1 0 22) (pkg-config:featurep :cmu))
 (progn
   (defun remove-shared-objects ()    
     (dolist (namestring *dont-save-shared-objects*)