X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=umlisp.asd;h=a9e7cb291a6b03d6aa5e0ad6e02bac95e8c6948a;hb=6c10979737dc10b0c510b1edfe070346bcac3ff5;hp=44aa906dffbc12ad96fe5e3370f4aafe496aa289;hpb=c88fbfe8bd947b12c89f32effaf328699ba067ab;p=umlisp.git diff --git a/umlisp.asd b/umlisp.asd index 44aa906..a9e7cb2 100644 --- a/umlisp.asd +++ b/umlisp.asd @@ -7,8 +7,6 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2006 by Kevin M. Rosenberg, M.D. ;;;; @@ -19,13 +17,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 +38,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))))