aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-12-29 02:24:06 +0800
committerthierry <thierry@FreeBSD.org>2006-12-29 02:24:06 +0800
commit34967fd3fe7f66a15a391f8883440f8759366261 (patch)
tree64bc1cd3a8ce71e233f91a8177a62d9e549b3a68
parent44f52862372d1d9863e8f9a02ad988d8a96296d2 (diff)
downloadfreebsd-ports-gnome-34967fd3fe7f66a15a391f8883440f8759366261.tar.gz
freebsd-ports-gnome-34967fd3fe7f66a15a391f8883440f8759366261.tar.zst
freebsd-ports-gnome-34967fd3fe7f66a15a391f8883440f8759366261.zip
s:/usr/X11R6:${X11BASE}: everywhere.
Submitted by: Pedro Giffuni <giffunip (at) asme.org>
-rw-r--r--x11-toolkits/xview/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile
index 2bb8032c2c42..11dcf0d22b99 100644
--- a/x11-toolkits/xview/Makefile
+++ b/x11-toolkits/xview/Makefile
@@ -28,6 +28,10 @@ MAKE_ENV+= IMAKEINCLUDE=${IMAKEINCLUDE}
ALL_TARGET= World
SUB_FILES= pkg-message
+X11BASE2FIX= clients/olwm/screen.c clients/olwmslave/help_file.c \
+ lib/libxview/help/help_file.c lib/libxview/misc/gettext.h \
+ lib/libxview/textsw/txt_e_menu.c
+
MAN1= xview.1
.include <bsd.port.pre.mk>
@@ -51,6 +55,8 @@ pre-configure:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\
s|^/\*\*/#*|XCOMM |'
+ ${REINPLACE_CMD} -e 's+/usr/X11R6+${X11BASE}+' \
+ ${X11BASE2FIX:C|^|${WRKSRC}/|}
post-install:
.if !defined{NOPORTDOCS}