commit:     25ebbaaa45bdc4904c002de89a56c0d45f484720
Author:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
AuthorDate: Sun Jul 20 09:49:27 2014 +0000
Commit:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
CommitDate: Sun Jul 20 09:49:27 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=25ebbaaa

dev-ml/zarith-1.2.1: fix doc building

---
 dev-ml/zarith/zarith-1.2.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild 
b/dev-ml/zarith/zarith-1.2.1.ebuild
index 1603ad3..5657ff8 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -37,7 +37,9 @@ src_configure(){
 
 src_compile(){
        emake || die "emake failed"
-       use doc && emake doc || die "emake doc failed"
+       if use doc; then
+               emake doc || die "emake doc failed"
+       fi
 }
 
 src_install(){

Reply via email to