summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libXevie/files/fix_shadow_manpages.patch')
-rw-r--r--x11-libs/libXevie/files/fix_shadow_manpages.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-libs/libXevie/files/fix_shadow_manpages.patch b/x11-libs/libXevie/files/fix_shadow_manpages.patch
new file mode 100644
index 000000000000..c3577eafda30
--- /dev/null
+++ b/x11-libs/libXevie/files/fix_shadow_manpages.patch
@@ -0,0 +1,19 @@
+diff -u -r1.5 -r1.6
+--- man/Makefile.am 2005/12/06 22:48:43 1.5
++++ man/Makefile.am 2006/02/12 18:19:21 1.6
+@@ -27,6 +27,8 @@
+
+ libmandir = $(LIB_MAN_DIR)
+
++LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
++
+ libman_PRE = Xevie.man
+
+ libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
+@@ -67,5 +69,5 @@
+ shadows.DONE:
+ -rm -f $(Xevie_shadows:=.@LIB_MAN_SUFFIX@)
+ (for i in $(Xevie_shadows:=.@LIB_MAN_SUFFIX@) ; do \
+- echo .so man$(LIB_MAN_SUFFIX)/Xevie.$(LIB_MAN_SUFFIX) > $$i; \
++ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xevie.$(LIB_MAN_SUFFIX) > $$i; \
+ done)