X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=umlisp.asd;h=03e53016ef8bf0beaf137ca2ea37c877659bcfec;hb=08af5459d3ba7d229a8339d242ef742cfe846861;hp=44aa906dffbc12ad96fe5e3370f4aafe496aa289;hpb=c88fbfe8bd947b12c89f32effaf328699ba067ab;p=umlisp.git diff --git a/umlisp.asd b/umlisp.asd index 44aa906..03e5301 100644 --- a/umlisp.asd +++ b/umlisp.asd @@ -19,13 +19,8 @@ (defpackage #:umlisp-system (:use #:asdf #:cl)) (in-package #:umlisp-system) -;; need to load uffi for below perform :after method -(eval-when (:compile-toplevel :load-toplevel :execute) - (unless (find-package 'uffi) - (asdf:operate 'asdf:load-op 'uffi))) - (defsystem umlisp - :components + :components ((:file "package") (:file "data-structures" :depends-on ("package")) (:file "utils" :depends-on ("data-structures")) @@ -45,14 +40,12 @@ (operate 'test-op 'umlisp-tests :force t)) (defmethod perform :after ((o load-op) (c (eql (find-system 'umlisp)))) - (let* ((init-var (uffi:getenv "UMLISPRC")) - (init-file (or (when init-var (probe-file init-var)) - (probe-file - (merge-pathnames - (make-pathname :name ".umlisprc") - (user-homedir-pathname))) - #+(or mswin windows win32) - (probe-file "c:\\etc\\umlisp-init.lisp")))) + (let ((init-file (or (probe-file + (merge-pathnames + (make-pathname :name ".umlisprc") + (user-homedir-pathname))) + #+(or mswin windows win32) + (probe-file "c:\\etc\\umlisp-init.lisp")))) (when init-file (format t "loading umlisp init file ~A~%" init-file) (load init-file))))