Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-lisp
>>>>> On Sun, 15 Nov 2009, Nick wrote:
> However I see due to your build inheriting elisp it effectively
> depends on emacs. This seems like an odd dependency for a window
> manager, and I wonder if it's possible / reasonable to remove it?
The ebuild should only depend on Emacs with USE=emacs, so it should
inherit elisp-common instead of elisp. See below for an (untested)
patch.
Ulrich
--- stumpwm-0.9.6-r1.ebuild~
+++ stumpwm-0.9.6-r1.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=2
-inherit common-lisp-2 glo-utils eutils elisp
+inherit common-lisp-2 glo-utils eutils elisp-common
DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
HOMEPAGE="http://www.nongnu.org/stumpwm/"
@@ -22,7 +22,7 @@
!sbcl? ( !clisp? ( >=dev-lisp/sbcl-1.0.22 ) )
!sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X] ) )
sbcl? ( >=dev-lisp/sbcl-1.0.22 )
- emacs? ( app-emacs/slime )"
+ emacs? ( virtual/emacs app-emacs/slime )"
DEPEND="${RDEPEND}
sys-apps/texinfo
doc? ( virtual/texi2dvi )"
@@ -89,3 +89,11 @@
common-lisp-symlink-asdf
fi
}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
|
|