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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Feb 13 01:59:31 CET 2012


Revision: 17029
          http://gar.svn.sourceforge.net/gar/?rev=17029&view=rev
Author:   bdwalton
Date:     2012-02-13 00:59:31 +0000 (Mon, 13 Feb 2012)
Log Message:
-----------
ruby19/trunk: add note about api (libdir) vs version number difference and correct a few paths to match this info

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

Modified: csw/mgar/pkg/ruby19/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-12 22:31:54 UTC (rev 17028)
+++ csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-13 00:59:31 UTC (rev 17029)
@@ -4,6 +4,9 @@
 CATEGORIES = lang
 GARTYPE = v2
 
+#NOTE: Some things below use version 1.9.1.  As of 1.9.3, the api of
+#the libs is 1.9.1, so that is why we can't use $(VERSION).
+
 # patchfile 0002-vm.c... is a backport from upstream
 VERSION_FLAG_PATCH = 1
 
@@ -136,7 +139,7 @@
 post-install-modulated: $(PI_TARGETS)
 	@$(MAKECOOKIE)
 
-multiconfig: RBCONFIG=/opt/csw/lib/ruby/$(VERSION)/$(GARCH)-solaris2.10/rbconfig.rb
+multiconfig: RBCONFIG=/opt/csw/lib/ruby/1.9.1/$(GARCH)-solaris2.10/rbconfig.rb
 multiconfig:
 	@echo "Setting up the CSW rbconfig stuff so we can switch between compilers"
 	@mv $(DESTDIR)$(RBCONFIG) $(DESTDIR)$(RBCONFIG).SOS12
@@ -151,7 +154,7 @@
 # Fix up rbconfig
 rbconfig:
 	@gsed -i -e s,$(DESTDIR),, \
-		$(DESTDIR)$(libdir)/ruby/$(VERSION)/$(GARCH)-solaris2.10/rbconfig.rb
+		$(DESTDIR)$(libdir)/ruby/1.9.1/$(GARCH)-solaris2.10/rbconfig.rb
 	@$(MAKECOOKIE)
 
 # Copy samples

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