grozin      14/12/22 10:49:42

  Added:                wish-1.patch
  Log:
  Adding a missing patch (#533202)
  
  (Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 
0x3AFFCE974D34BD8C!)

Revision  Changes    Path
1.1                  sci-mathematics/maxima/files/wish-1.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/maxima/files/wish-1.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/maxima/files/wish-1.patch?rev=1.1&content-type=text/plain

Index: wish-1.patch
===================================================================
diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac
--- maxima-5.35.1.orig/configure.ac     2014-12-13 06:44:51.000000000 +0600
+++ maxima-5.35.1/configure.ac  2014-12-15 16:30:07.574773386 +0600
@@ -989,6 +989,11 @@
        [  --with-wish=<prog>           Use <prog> for Tk wish shell (default 
wish)],
-       [WISH="${withval}"],
-       [WISH="wish"])
+       [],
+       [with_wish="wish"])
+case "${with_wish}" in
+     no) WISH="none" ;;
+     yes) WISH="wish" ;;
+     *) WISH="${with_wish}" ;;
+esac
 AC_SUBST(WISH)
-
+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
 
diff -r -U1 maxima-5.35.1.orig/interfaces/Makefile.am 
maxima-5.35.1/interfaces/Makefile.am
--- maxima-5.35.1.orig/interfaces/Makefile.am   2013-10-07 10:37:11.000000000 
+0700
+++ maxima-5.35.1/interfaces/Makefile.am        2014-12-15 16:31:18.056770422 
+0600
@@ -1,2 +1,6 @@
+if WANT_TK
 SUBDIRS = emacs xmaxima
+else
+SUBDIRS = emacs
+endif
 EXTRA_DIST = bin/xmaxima.iss




Reply via email to