[78022] trunk/dports/science/palmkit
ryandesign at macports.org
ryandesign at macports.org
Tue Apr 19 15:57:59 PDT 2011
Revision: 78022
http://trac.macports.org/changeset/78022
Author: ryandesign at macports.org
Date: 2011-04-19 15:57:59 -0700 (Tue, 19 Apr 2011)
Log Message:
-----------
palmkit: fix shebang lines in scripts; disable zlib because it caused crashes; see #29179
Modified Paths:
--------------
trunk/dports/science/palmkit/Portfile
Added Paths:
-----------
trunk/dports/science/palmkit/files/patch-scripts.diff
Modified: trunk/dports/science/palmkit/Portfile
===================================================================
--- trunk/dports/science/palmkit/Portfile 2011-04-19 22:40:40 UTC (rev 78021)
+++ trunk/dports/science/palmkit/Portfile 2011-04-19 22:57:59 UTC (rev 78022)
@@ -5,7 +5,7 @@
name palmkit
version 1.0.32
-revision 1
+revision 2
categories science japanese
platforms darwin
maintainers nomaintainer
@@ -25,14 +25,14 @@
# respect build_arch
patchfiles patch-configure.diff
+# fix shebang lines in scripts
+patchfiles-append patch-scripts.diff
+
configure.args --enable-largefile \
- --enable-zlib \
--enable-longid
depends_build port:nkf
-depends_lib port:zlib
-
use_parallel_build no
universal_variant no
Added: trunk/dports/science/palmkit/files/patch-scripts.diff
===================================================================
--- trunk/dports/science/palmkit/files/patch-scripts.diff (rev 0)
+++ trunk/dports/science/palmkit/files/patch-scripts.diff 2011-04-19 22:57:59 UTC (rev 78022)
@@ -0,0 +1,32 @@
+--- ctext2class.orig 2002-06-10 19:55:34.000000000 +0900
++++ ctext2class 2011-04-19 20:43:08.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/env ruby
+ delimiter = "+"
+ print_count = false
+
+--- text2class.orig 2002-01-09 10:10:27.000000000 +0900
++++ text2class 2011-04-19 20:43:53.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/env ruby
+ while gets
+ s = chop.split
+ c = []
+--- text2idtext.orig 2002-01-09 10:10:27.000000000 +0900
++++ text2idtext 2011-04-19 20:44:01.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/env ruby
+
+ def usage
+ STDERR.print "text2idtext [-verbose] -vocab .vocab [.text]\n"
+--- reverseword.orig 2002-01-09 10:10:27.000000000 +0900
++++ reverseword 2011-04-19 20:43:30.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/bin/awk -f
++#!/usr/bin/env awk -f
+ {
+ for (i=NF; i>1;i--) {
+ printf "%s ",$i
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110419/a9dcc5f8/attachment.html>
More information about the macports-changes
mailing list