diff options
author | obache <obache@pkgsrc.org> | 2007-12-31 12:23:41 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-12-31 12:23:41 +0000 |
commit | 41e235426739a795e0dc949b46e3d42bd22cc26c (patch) | |
tree | 84885de50b61e8a7f48001c1a85f7b90e11fc6ac /textproc/java-mecab | |
parent | 88839667023850c70478bcc69de0cc7e7b1fbd6e (diff) | |
download | pkgsrc-41e235426739a795e0dc949b46e3d42bd22cc26c.tar.gz |
Move compile of test source to test target so that avoid build error.
Some javac (ex, jikes) don't know encoding "EUC_JP".
Diffstat (limited to 'textproc/java-mecab')
-rw-r--r-- | textproc/java-mecab/distinfo | 4 | ||||
-rw-r--r-- | textproc/java-mecab/patches/patch-aa | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/java-mecab/distinfo b/textproc/java-mecab/distinfo index ae09833c1ed..48213fcc9f9 100644 --- a/textproc/java-mecab/distinfo +++ b/textproc/java-mecab/distinfo @@ -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 --git a/textproc/java-mecab/patches/patch-aa b/textproc/java-mecab/patches/patch-aa index b58a4bbbebe..d3bf3baf4f7 100644 --- a/textproc/java-mecab/patches/patch-aa +++ b/textproc/java-mecab/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/05/12 13:53:46 obache Exp $ + $(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: |