1 |
commit: 2dd623a3c9fcd3ba7641e72d876125812c637af8 |
2 |
Author: José María Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 20:49:44 2016 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 20:50:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd623a3 |
7 |
|
8 |
x11-wm/stumpwm: Fix config for contrib use flag |
9 |
|
10 |
x11-wm/stumpwm/stumpwm-0.9.9.ebuild | 5 ++++- |
11 |
1 file changed, 4 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/x11-wm/stumpwm/stumpwm-0.9.9.ebuild b/x11-wm/stumpwm/stumpwm-0.9.9.ebuild |
14 |
index 29808a6..00a90c7 100644 |
15 |
--- a/x11-wm/stumpwm/stumpwm-0.9.9.ebuild |
16 |
+++ b/x11-wm/stumpwm/stumpwm-0.9.9.ebuild |
17 |
@@ -72,7 +72,10 @@ src_prepare() { |
18 |
} |
19 |
|
20 |
src_configure() { |
21 |
- econf --with-lisp=$(get_lisp sbcl clisp ecl) --with-module-dir="${CLSOURCEROOT}/${CLPACKAGE}/contrib" |
22 |
+ local moduleconfig |
23 |
+ |
24 |
+ use contrib && moduleconfig="--with-module-dir=${CLSOURCEROOT}/${CLPACKAGE}/contrib" |
25 |
+ econf --with-lisp=$(get_lisp sbcl clisp ecl) "${moduleconfig}" |
26 |
} |
27 |
|
28 |
src_compile() { |