From ecef963ddff3d79b09016f841bff6afb498c1c84 Mon Sep 17 00:00:00 2001
From: "Kevin M. Rosenberg" <kevin@rosenberg.net>
Date: Sun, 19 Jul 2020 12:04:18 -0600
Subject: [PATCH] Remove kmr-mop package before defining in event of redefining
 package

---
 debian/compat  | 2 +-
 debian/control | 2 +-
 mop.lisp       | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index c757ec2..2c3daba 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 Build-Depends-Indep: dh-lisp
 Build-Depends: debhelper (>= 7.0.0)
-Standards-Version: 3.9.5.0
+Standards-Version: 4.3.0.3
 Homepage: http://files.kpe.io/kmrcl/
 Vcs-Git: git://git.kpe.io/kmrcl.git
 Vcs-Browser: http://git.kpe.io/?p=kmrcl.git
diff --git a/mop.lisp b/mop.lisp
index 7926252..06d3e01 100644
--- a/mop.lisp
+++ b/mop.lisp
@@ -26,8 +26,9 @@
       (pushnew 'kmrcl::cmucl-mop cl:*features*)
       (pushnew 'kmrcl::cmucl-pcl cl:*features*)))
 
-(when (find-package '#:kmr-mop)
-  (delete-package '#:kmr-mop))
+(eval-when (:compile-toplevel :load-toplevel :execute)
+           (when (find-package '#:kmr-mop)
+             (delete-package '#:kmr-mop)))
 
 (defpackage #:kmr-mop
   (:use
-- 
GitLab