summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/tenshi/files/tenshi-create-mandir.patch')
-rw-r--r--app-admin/tenshi/files/tenshi-create-mandir.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/tenshi/files/tenshi-create-mandir.patch b/app-admin/tenshi/files/tenshi-create-mandir.patch
new file mode 100644
index 000000000000..72ca3f28576d
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-create-mandir.patch
@@ -0,0 +1,10 @@
+--- a/Makefile
++++ b/Makefile
+@@ -38,5 +38,7 @@
+ install -g root -m 0644 -D tenshi.conf ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf
+ install -d ${DESTDIR}${docdir}
+ install -m 0644 ${DOCS} ${DESTDIR}${docdir}/
++ [ -d ${DESTDIR}${mandir}/man8 ] || \
++ install -d ${DESTDIR}${mandir}/man8
+ install -g root -m 0644 tenshi.8 ${DESTDIR}${mandir}/man8/
+ install -g root -m 755 -d ${DESTDIR}${libdir}