--- contrib/asdf/asdf.lisp.orig	2023-12-16 12:23:36.000000000 -0600
+++ contrib/asdf/asdf.lisp	2025-09-18 12:09:42.000000000 -0500
@@ -7015,7 +7015,7 @@
             (or (getenv-absolute-directories "XDG_DATA_DIRS")
                 (os-cond
                  ((os-windows-p) (mapcar 'get-folder-path '(:appdata :common-appdata)))
-                 (t (mapcar 'parse-unix-namestring '("/usr/local/share/" "/usr/share/")))))))
+                 (t (mapcar 'parse-unix-namestring '("@@PREFIX@@/share/" "/usr/local/share/" "/usr/share/")))))))
 
   (defun xdg-config-dirs (&rest more)
     "The preference-ordered set of additional base paths to search for configuration files.
