diff options
author | obache <obache> | 2007-12-31 12:23:41 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-31 12:23:41 +0000 |
commit | 659ac775cf9dfa47c5bc925a0cadd18dd225b650 (patch) | |
tree | 84885de50b61e8a7f48001c1a85f7b90e11fc6ac /textproc/java-mecab | |
parent | c32a228c82ff8c4245d210522cf7ca5d9b3e4d58 (diff) | |
download | pkgsrc-659ac775cf9dfa47c5bc925a0cadd18dd225b650.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: |