Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11099/10.3/unstable/main/finkinfo/utils

Modified Files:
        prime.info prime.patch 
Log Message:
Don't be non-deterministic about ruby versions. Patch configure to avoid 
un-used dependencies.


Index: prime.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils/prime.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- prime.patch 4 Apr 2005 09:33:52 -0000       1.2
+++ prime.patch 20 Dec 2005 03:25:05 -0000      1.3
@@ -39,3 +39,20 @@
      unless @dictbuffer_learning.empty? then
        @file_dictbuffer_learning.flock(File::LOCK_EX|File::LOCK_NB)
        @file_dictbuffer_learning.print(@dictbuffer_learning)
+diff -Nuar prime-1.0.0.1.orig/configure prime-1.0.0.1/configure
+--- prime-1.0.0.1.orig/configure       2005-03-29 10:57:10.000000000 -0500
++++ prime-1.0.0.1/configure    2005-12-19 22:20:42.000000000 -0500
+@@ -1696,11 +1696,11 @@
+ 
+ 
+ 
+-    ruby_version=`ruby -r rbconfig -e "puts Config::CONFIG['ruby_version']"`
++    ruby_version=`ruby1.8 -r rbconfig -e "puts 
Config::CONFIG['ruby_version']"`
+ 
+ 
+ 
+-    uim_scheme_dir=`pkg-config uim --variable=prefix`"/share/uim"
++    uim_scheme_dir="${prefix}/share/uim"
+ 
+ 
+ 

Index: prime.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils/prime.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- prime.info  4 Apr 2005 09:33:52 -0000       1.3
+++ prime.info  20 Dec 2005 03:25:05 -0000      1.4
@@ -1,13 +1,17 @@
 Package: prime
 Version: 1.0.0.1
-Revision: 1
+Revision: 2
 Description: Japanese PRedictive Input Method Editor
 License: GPL
 Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
-Depends: sary-rb, suikyo-rb, progressbar-rb, prime-dict
+Depends: ruby18, sary-rb18, suikyo-rb, progressbar-rb, prime-dict
 Source: http://prime.sourceforge.jp/src/%n-%v.tar.gz
 Source-MD5: c3bb6df8590986104e41c23330d90aef
 Patch: %n.patch
+PatchScript: <<
+  perl -pi -e 's,#!/usr/bin/env ruby,#!%p/bin/ruby1.8,' src/*.src
+  perl -pi -e 's,/usr/\(local\),%p,' doc/uim_prime.html
+<<
 ConfigureParams: --infodir='${prefix}/share/info' 
--mandir='${prefix}/share/man' --with-rubydir='$(libdir)/ruby/site_ruby'
 InstallScript: <<
 make install     DESTDIR=%d
@@ -21,5 +25,4 @@
 For more detail, please see the following web page.
 
     http://taiyaki.org/prime/
-
 <<



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to