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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Aug 5 22:48:57 CEST 2009


Revision: 5867
          http://gar.svn.sourceforge.net/gar/?rev=5867&view=rev
Author:   bdwalton
Date:     2009-08-05 20:48:56 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
ruby: use COMPILE_ELISP; update extra lib path (for rubydev); dbd dep change

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

Modified: csw/mgar/pkg/ruby/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby/trunk/Makefile	2009-08-05 17:47:11 UTC (rev 5866)
+++ csw/mgar/pkg/ruby/trunk/Makefile	2009-08-05 20:48:56 UTC (rev 5867)
@@ -5,7 +5,7 @@
 CATEGORIES = lang
 
 # disable test scripts (all passed with 1.8.7p174)
-TEST_SCRIPTS = 
+# TEST_SCRIPTS = 
 
 PREREQUISITE_PKGS = CSWbdb3 CSWgdbm CSWgfile CSWiconv CSWncurses CSWossldevel
 PREREQUISITE_PKGS += CSWreadline CSWzlib
@@ -18,7 +18,7 @@
 
 LICENSE = COPYING
 
-REQUIRED_PKGS_CSWruby = CSWbdb3 CSWgdbm CSWiconv CSWgcc4corert
+REQUIRED_PKGS_CSWruby = CSWbdb CSWgdbm CSWiconv CSWgcc4corert
 REQUIRED_PKGS_CSWruby += CSWncurses CSWosslrt CSWreadline CSWzlib
 
 REQUIRED_PKGS_CSWrubydoc = CSWruby
@@ -80,7 +80,7 @@
 
 # This is for rbconfig.rb: without this, modules built may not get a proper
 # setting.
-EXTRA_LDFLAGS = -R /opt/csw/gcc4/lib
+EXTRA_LDFLAGS = -R $(abspath /opt/csw/gcc4/lib/$(MM_LIBDIR))
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --enable-pthread
@@ -102,6 +102,8 @@
 # We want libruby-static.a to ship.  mkmf tests for various things using it.
 MERGE_EXCLUDE_STATICLIBS = 
 
+COMPILE_ELISP = 1
+
 include gar/category.mk
 
 SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(PATCHLEVEL)
@@ -115,10 +117,7 @@
 rubymode:
 	@echo " ===> Installing and Compilingn ruby-mode elisp"
 	@(mkdir -p $(RMDIR); \
-		cp $(WORKSRC)/misc/*el $(RMDIR); \
-		for f in $(RMDIR)/*; do \
-			emacs -L $(RMDIR) -batch -f batch-byte-compile "$$f"; \
-		done)
+		cp $(WORKSRC)/misc/*el $(RMDIR))
 
 # Fix up rbconfig
 rbconfig:


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