--- mecab-naist-jdic-0.6.3b-20111013/Makefile.am.orig	2019-11-08 14:29:32.477853500 +0300
+++ mecab-naist-jdic-0.6.3b-20111013/Makefile.am	2019-11-08 14:30:38.950570300 +0300
@@ -17,9 +17,9 @@
 	./upload.pl -p mecab -n @PACKAGE@ -r @VERSION@ -f @PACKAGE@-@VERSION@.tar.gz
 
 install-exec-hook:
-	if ! [ -d $(DESTDIR)/etc/mecab/dic/naist-jdic ]; \
-		then mkdir -p $(DESTDIR)/etc/mecab/dic/naist-jdic; \
+	if ! [ -d $(DESTDIR)$(sysconfdir)/mecab/dic/naist-jdic ]; \
+		then mkdir -p $(DESTDIR)$(sysconfdir)/mecab/dic/naist-jdic; \
 	fi
-	if ! [ -f $(DESTDIR)/etc/mecab/dic/naist-jdic/dicrc ]; \
-		then $(LN_S) @MECAB_DICDIR@/dicrc $(DESTDIR)/etc/mecab/dic/naist-jdic/dicrc; \
+	if ! [ -f $(DESTDIR)$(sysconfdir)/mecab/dic/naist-jdic/dicrc ]; \
+		then $(LN_S) $(DESTDIR)@MECAB_DICDIR@/dicrc $(DESTDIR)$(sysconfdir)/mecab/dic/naist-jdic/dicrc; \
 	fi
