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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Mar 5 05:01:55 CET 2011


Revision: 13573
          http://gar.svn.sourceforge.net/gar/?rev=13573&view=rev
Author:   bdwalton
Date:     2011-03-05 04:01:55 +0000 (Sat, 05 Mar 2011)

Log Message:
-----------
ruby18/trunk: add legacy symlinks to account for the changed .so file names

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

Modified: csw/mgar/pkg/ruby18/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-05 03:49:29 UTC (rev 13572)
+++ csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-05 04:01:55 UTC (rev 13573)
@@ -165,7 +165,7 @@
 
 RBCONFIG = /opt/csw/lib/ruby/1.8/$(GARCH)-solaris2.9/rbconfig.rb
 
-PI_TARGETS  = samples rbconfig rbscripts rubymode
+PI_TARGETS  = samples rbconfig rbscripts rubymode legacylinks
 ifndef USEGCC
 PI_TARGETS += multiconfig
 endif
@@ -173,6 +173,13 @@
 post-install-modulated: $(PI_TARGETS)
 	@$(MAKECOOKIE)
 
+legacylinks:
+	@(cd $(DESTDIR)$(libdir); \
+		for f in libruby.so libruby.so.1.8.7; do \
+			ln -s libruby18.so.1 $$f; \
+		done)
+	@$(MAKECOOKIE)
+
 multiconfig:
 	@echo "Setting up the CSW rbconfig stuff so we can switch between compilers"
 	@mv $(DESTDIR)$(RBCONFIG) $(DESTDIR)$(RBCONFIG).SOS12


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