aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rskkserv/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/rskkserv/files/patch-Makefile.in')
-rw-r--r--japanese/rskkserv/files/patch-Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/rskkserv/files/patch-Makefile.in b/japanese/rskkserv/files/patch-Makefile.in
new file mode 100644
index 00000000000..67b5b3bcc24
--- /dev/null
+++ b/japanese/rskkserv/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Thu Nov 4 02:08:36 2004
++++ Makefile.in Fri Nov 5 09:05:02 2004
+@@ -75,7 +75,9 @@
+ install: all installdirs
+ cd ext; make DESTDIR=$(DESTDIR) rss-install; cd ..
+ $(INSTALL) -m0755 $(SKKSERV) $(DESTDIR)$(sbindir)/$(SKKSERV)
+- $(INSTALL) -m0644 $(CONFFILE) $(DESTDIR)$(sysconfdir)/$(CONFFILE)
++ if [ ! -f $(DESTDIR)$(sysconfdir)/$(CONFFILE) ]; then \
++ $(INSTALL) -m0644 $(CONFFILE) $(DESTDIR)$(sysconfdir)/; \
++ fi
+
+ installdirs:
+ mkdir -p $(DESTDIR)$(sbindir)