pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/java-mecab Move compile of test source to tes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61af68d09804
branches:  trunk
changeset: 537003:61af68d09804
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Dec 31 12:23:41 2007 +0000

description:
Move compile of test source to test target so that avoid build error.
Some javac (ex, jikes) don't know encoding "EUC_JP".

diffstat:

 textproc/java-mecab/distinfo         |   4 ++--
 textproc/java-mecab/patches/patch-aa |  11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 7065af8c445e -r 61af68d09804 textproc/java-mecab/distinfo
--- a/textproc/java-mecab/distinfo      Mon Dec 31 11:11:58 2007 +0000
+++ b/textproc/java-mecab/distinfo      Mon Dec 31 12:23:41 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/06/23 04:31:55 obache Exp $
+$NetBSD: distinfo,v 1.3 2007/12/31 12:23:41 obache Exp $
 
 SHA1 (mecab-java-0.96.tar.gz) = 81427793fc37e9317ab43958046067054c3051a1
 RMD160 (mecab-java-0.96.tar.gz) = 810a8a41af65e0c2f672317ce0e8ab1311275b76
 Size (mecab-java-0.96.tar.gz) = 24414 bytes
-SHA1 (patch-aa) = 28cc3dffacefb67acde561547055ffd1fe165696
+SHA1 (patch-aa) = bf051dc3f5472de15e9ba813f691cafc94cea81f
diff -r 7065af8c445e -r 61af68d09804 textproc/java-mecab/patches/patch-aa
--- a/textproc/java-mecab/patches/patch-aa      Mon Dec 31 11:11:58 2007 +0000
+++ b/textproc/java-mecab/patches/patch-aa      Mon Dec 31 12:23:41 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/05/12 13:53:46 obache Exp $
+$NetBSD: patch-aa,v 1.2 2007/12/31 12:23:41 obache Exp $
 
---- Makefile.orig      2007-03-12 00:44:08.000000000 +0900
+--- Makefile.orig      2007-06-10 14:32:44.000000000 +0000
 +++ Makefile
-@@ -2,19 +2,17 @@ TARGET=MeCab
+@@ -2,22 +2,20 @@ TARGET=MeCab
  JAVAC=javac
  JAVA=java
  JAR=jar
@@ -22,7 +22,10 @@
 +      $(CXX) $(LDFLAGS) -shared  $(TARGET)_wrap.o -o lib$(TARGET).so $(LIBS)
        $(JAVAC) $(PACKAGE)/*.java
 -      $(JAVAC) test.java
-+      $(JAVAC) -encoding EUC_JP test.java
        $(JAR) cfv $(TARGET).jar $(PACKAGE)/*.class
  
  test:
++      $(JAVAC) -encoding EUC_JP test.java
+       env LD_LIBRARY_PATH=. $(JAVA) test
+ 
+ clean:



Home | Main Index | Thread Index | Old Index