Hi again,

As I've been looking at the package qemacs-cvs from the Arch Linux AUR
I've made one more patch to Makefile.

Without this patch, even though X11 support is enabled by default the
version of qemacs which Makefile installs is "qe", not "xqe".  Also, I
think I've caught a thinko on line 464 where the symbolic link points
to "qemacs", not to "qemacs$(EXE)" which is used elsewhere.  I hope
I'm not misunderstanding this part.  Patch is attached.

Thanks again for keeping qemacs going.  It's very useful :^)
-- 
Clemmitt Sigler
--- src/qemacs-build/Makefile.orig	2016-06-07 20:35:04.000000000 -0400
+++ src/qemacs-build/Makefile	2016-06-09 15:48:36.319710973 -0400
@@ -460,8 +460,16 @@
 	$(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/bin
 	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
 	$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/qe
+ifdef CONFIG_X11
+	$(INSTALL) -m 755 -s xqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+else
+  ifdef CONFIG_TINY
+	$(INSTALL) -m 755 -s tqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+  else
 	$(INSTALL) -m 755 -s qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
-	ln -sf qemacs $(DESTDIR)$(prefix)/bin/qe$(EXE)
+  endif
+endif
+	ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/qe$(EXE)
 ifdef CONFIG_FFMPEG
 	ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/ffplay$(EXE)
 endif
_______________________________________________
Qemacs-devel mailing list
Qemacs-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

Reply via email to