summaryrefslogtreecommitdiff
path: root/textproc/java-mecab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/java-mecab/Makefile')
-rw-r--r--textproc/java-mecab/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/textproc/java-mecab/Makefile b/textproc/java-mecab/Makefile
index 50fc1c8deb0..32e3f2f549f 100644
--- a/textproc/java-mecab/Makefile
+++ b/textproc/java-mecab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/12/28 01:01:19 obache Exp $
+# $NetBSD: Makefile,v 1.5 2012/02/27 11:53:06 obache Exp $
#
.include "../../textproc/mecab/Makefile.common"
@@ -27,9 +27,5 @@ BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
.include "../../textproc/mecab/buildlink3.mk"
.include "../../mk/java-vm.mk"
CXXFLAGS+= -I${PKG_JAVA_HOME}/include
-.for d in ${PKG_JAVA_HOME}/include/*
-. if exists(${d}/jni_md.h)
-CXXFLAGS+= -I${d}
-. endif
-.endfor
+CXXFLAGS+= -I${PKG_JAVA_HOME}/include/${LOWER_OPSYS}
.include "../../mk/bsd.pkg.mk"