Changeset 86594 for trunk/dports/java


Ignore:
Timestamp:
Oct 29, 2011, 7:09:36 AM (8 years ago)
Author:
ryandesign@…
Message:

mecab-java: fix build on case-sensitive filesystems, like the buildbot's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/mecab-java/files/patch-Makefile.diff

    r81539 r86594  
    1 --- Makefile.orig       2009-05-31 12:20:56.000000000 +0900
    2 +++ Makefile    2011-05-28 19:03:19.000000000 +0900
     1--- Makefile.orig       2009-09-27 03:40:18.000000000 -0500
     2+++ Makefile    2011-10-29 02:06:00.000000000 -0500
    33@@ -1,27 +1,30 @@
    4 -TARGET=MeCab
     4+JAVA_BASE=/System/Library/Frameworks/JavaVM.framework
     5+JAVA_HOME=$(JAVA_BASE)/Home
     6+
     7 TARGET=MeCab
    58-JAVAC=javac
    69-JAVA=java
     
    811-CXX=c++
    912-INCLUDE=/usr/local/jdk/include
    10 +JAVA_BASE=/System/Library/Frameworks/JavaVM.framework
    11 +JAVA_HOME=$(JAVA_BASE)/Home
    12 +
    13 +TARGET=mecab
    1413+JAVAC=$(JAVA_HOME)/bin/javac -encoding UTF-8
    1514+JAVA=$(JAVA_HOME)/bin/java -Dfile.encoding=UTF-8
     
    2827-       $(CXX) -shared  $(TARGET)_wrap.o -o lib$(TARGET).so $(LIBS)
    2928+       $(CXX) $(CXXFLAGS) -c -fPIC $(TARGET)_wrap.cxx $(INC)
    30 +       $(CXX) $(CXXFLAGS) -dynamiclib $(TARGET)_wrap.o -o lib$(TARGET)-java.dylib $(LIBS)
     29+       $(CXX) $(CXXFLAGS) -dynamiclib $(TARGET)_wrap.o -o libmecab-java.dylib $(LIBS)
    3130        $(JAVAC) $(PACKAGE)/*.java
    3231        $(JAVAC) test.java
Note: See TracChangeset for help on using the changeset viewer.