aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xwpe
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xwpe')
-rw-r--r--devel/xwpe/Makefile2
-rw-r--r--devel/xwpe/files/patch-094
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/xwpe/Makefile b/devel/xwpe/Makefile
index 7ea2f1a8eefe..b1a99d0fe7a2 100644
--- a/devel/xwpe/Makefile
+++ b/devel/xwpe/Makefile
@@ -32,7 +32,7 @@ MLINKS= xwpe.1 xwe.1 \
post-patch:
.for file in we_prog.c we_fl_unix.c
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
- s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/${file}
+ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/${file}
.endfor
${REINPLACE_CMD} -e 's|$$(INSTALL_PROGRAM)|${INSTALL_PROGRAM}|g' \
${WRKSRC}/Makefile.in
diff --git a/devel/xwpe/files/patch-09 b/devel/xwpe/files/patch-09
index 47bc8a4e0a37..2b956ba10032 100644
--- a/devel/xwpe/files/patch-09
+++ b/devel/xwpe/files/patch-09
@@ -18,9 +18,9 @@
- manpath = strdup("/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man");
+ manpath = strdup(
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
-+ "/usr/share/man:%%X11BASE%%/man:%%LOCALBASE%%/man");
++ "/usr/share/man:%%LOCALBASE%%/man:%%LOCALBASE%%/man");
+#else
-+ "/usr/man:%%X11BASE%%/man:%%LOCALBASE%%/man");
++ "/usr/man:%%LOCALBASE%%/man:%%LOCALBASE%%/man");
+#endif
}
/* Allocate the maximum possible rather than continually realloc. */