[Xotcl] Bug: make install step tries to perform chmod on xowish even if not configured to build [PATCH]

Jim Lynch jim at jam.sessionsnet.org
Fri Apr 9 02:03:20 CEST 2004


Hi,

I got an error when building xotcl without tk and wish support where it
tries to do a chmod on xowish (which of course doesn't exist at that
point.)

This patch will fix the problem (as well as being self-explanitory as
to why it should be applied). See attachment for patch; my email client
seems to be translating white space, which would render the patch 
(and the resulting Makefile.in) inoperative.

Please let me know if the previous patch I sent for the tclsh location
problem is similarly broken; I'll provide a fix if so.

Jim

--
Jam sessions community web site: http://jam.sessionsnet.org

-------------- next part --------------
--- xotcl-1.2.0-orig/unix/Makefile.in	2004-02-16 15:32:01.000000000 -0800
+++ xotcl-1.2.0/unix/Makefile.in	2004-04-08 16:42:00.000000000 -0700
@@ -458,11 +458,12 @@
 		$(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS)
 
 install-shells:
-	chmod +x xotclsh xowish 
 	@if test -e xotclsh; then \
+		chmod +x xotclsh 
 		$(INSTALL_PROGRAM) xotclsh $(DESTDIR)$(bindir); \
 	fi
 	@if test -e xowish; then \
+		chmod +x xowish 
 		$(INSTALL_PROGRAM) xowish $(DESTDIR)$(bindir); \
 	fi
 


More information about the Xotcl mailing list