[csw-devel] SF.net SVN: gar:[9448] csw/mgar/pkg/tk/trunk/Makefile

hson at users.sourceforge.net hson at users.sourceforge.net
Mon Mar 29 19:09:53 CEST 2010


Revision: 9448
          http://gar.svn.sourceforge.net/gar/?rev=9448&view=rev
Author:   hson
Date:     2010-03-29 17:09:53 +0000 (Mon, 29 Mar 2010)

Log Message:
-----------
tk: Create symlink to wish8.5. Add some checkpkg overrides

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

Modified: csw/mgar/pkg/tk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tk/trunk/Makefile	2010-03-29 16:44:43 UTC (rev 9447)
+++ csw/mgar/pkg/tk/trunk/Makefile	2010-03-29 17:09:53 UTC (rev 9448)
@@ -23,6 +23,13 @@
 VENDOR_URL = http://www.tcl.tk/
 LICENSE = license.terms
 
+CHECKPKG_OVERRIDES_CSWtk += file-with-bad-content|/export/medusa|root/opt/csw/lib/libtk8.4.so
+CHECKPKG_OVERRIDES_CSWtk += file-with-bad-content|/export/medusa|root/opt/csw/lib/libtkstub8.4.a
+CHECKPKG_OVERRIDES_CSWtk += file-with-bad-content|/export/medusa|root/opt/csw/share/checkpkg/overrides/tk
+CHECKPKG_OVERRIDES_CSWtk += linked-against-discouraged-library|libtk8.4.so|libX11.so.4
+CHECKPKG_OVERRIDES_CSWtk += surplus-dependency|CSWsunmath
+CHECKPKG_OVERRIDES_CSWtk += soname-not-found|libm.so.2
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=10894
 UPSTREAM_USE_SF = 1
@@ -59,14 +66,34 @@
 	@(cd $(WORKSRC) ; cp -p ../license.terms .)
 	@$(MAKECOOKIE)
 
-post-install-i386:
+post-install-isa-i386:
 	@# Install legacy libs
 	@# Building them with version modulations would be hard as that would require a full legacy tcl also
+	@echo Installing legacy files
 	@( cd $(INSTALLISADIR); xz -dc $(CURDIR)/$(FILEDIR)/8.4.i386.tar.xz | tar xf -)
+	@# Need to manually create symlink to latest version
+	@echo Creating link to wish8.5
+	@ln -s wish8.5 $(INSTALLISADIR)/$(bindir)/wish
 	@$(MAKECOOKIE)
 
-post-install-sparc:
+post-install-isa-amd64:
+	@# Need to manually create symlink to latest version
+	@echo Creating link to wish8.5
+	@ln -s wish8.5 $(INSTALLISADIR)/$(bindir)/wish
+	@$(MAKECOOKIE)
+
+post-install-isa-sparcv8:
 	@# Install legacy libs
 	@# Building them with version modulations would be hard as that would require a full legacy tcl also
+	@echo Installing legacy files
 	@( cd $(INSTALLISADIR); xz -dc $(CURDIR)/$(FILEDIR)/8.4.sparc.tar.xz | tar xf -)
+	@# Need to manually create symlink to latest version
+	@echo Creating link to wish8.5
+	@ln -s wish8.5 $(INSTALLISADIR)/$(bindir)/wish
 	@$(MAKECOOKIE)
+
+post-install-isa-sparcv9:
+	@# Need to manually create symlink to latest version
+	@echo Creating link to wish8.5
+	@ln -s wish8.5 $(INSTALLISADIR)/$(bindir)/wish
+	@$(MAKECOOKIE)


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