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.
_______________________________________________
devel mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to