[csw-devel] SF.net SVN: gar:[5669] csw/mgar/pkg/tkcvs

opk at users.sourceforge.net opk at users.sourceforge.net
Mon Jul 27 17:04:33 CEST 2009


Revision: 5669
          http://gar.svn.sourceforge.net/gar/?rev=5669&view=rev
Author:   opk
Date:     2009-07-27 15:04:33 +0000 (Mon, 27 Jul 2009)

Log Message:
-----------
hardcode location of wish

Modified Paths:
--------------
    csw/mgar/pkg/tkcvs/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/tkcvs/Makefile

Added: csw/mgar/pkg/tkcvs/Makefile
===================================================================
--- csw/mgar/pkg/tkcvs/Makefile	                        (rev 0)
+++ csw/mgar/pkg/tkcvs/Makefile	2009-07-27 15:04:33 UTC (rev 5669)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/tkcvs/Makefile
___________________________________________________________________
Added: svn:keywords
   + URL Id

Modified: csw/mgar/pkg/tkcvs/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tkcvs/trunk/Makefile	2009-07-27 08:05:22 UTC (rev 5668)
+++ csw/mgar/pkg/tkcvs/trunk/Makefile	2009-07-27 15:04:33 UTC (rev 5669)
@@ -29,7 +29,13 @@
 LICENSE = COPYING
 ARCHALL = 1
 REQUIRED_PKGS = CSWtcl CSWtk CSWtkdiff
+POST_INSTALL_TARGETS := fixscript
 
+# Script needs to run wish from /opt/csw
+fixscript:
+	@echo " ==> Fixing wish path in tkcvs script"
+	perl -i -plne "s{^exec wish}{exec ${bindir}/wish}g" $(DESTDIR)$(prefix)/bin/tkcvs
+
 include gar/category.mk
 
 TCL_FILES = $(filter-out %/tkcvs.tcl,$(wildcard $(WORKSRC)/tkcvs/*.tcl))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list