diff -urN /usr/ports/french/xtel.orig/Makefile /usr/ports/french/xtel/Makefile --- /usr/ports/french/xtel.orig/Makefile Thu Mar 14 00:13:09 2002 +++ /usr/ports/french/xtel/Makefile Sun Jul 7 13:26:56 2002 @@ -21,6 +21,7 @@ USE_IMAKE= yes USE_XPM= yes +USE_REINPLACE= yes MAN1= xtel.1 xteld.1 @@ -37,10 +38,9 @@ post-patch: .for FILE in ${PATCH_FILES} - @${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE} + ${CHMOD} u+w ${WRKSRC}/${FILE} + ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE} .endfor - find ${WRKSRC} -type f | xargs ${PERL} -pi -e \ - "s@#include.*@#include @g" pre-configure: .if !exists(${PREFIX}/lib/X11/config/host.def) diff -urN /usr/ports/french/xtel.orig/files/patch-Videotex_Videotex.c /usr/ports/french/xtel/files/patch-Videotex_Videotex.c --- /usr/ports/french/xtel.orig/files/patch-Videotex_Videotex.c Thu Jan 1 01:00:00 1970 +++ /usr/ports/french/xtel/files/patch-Videotex_Videotex.c Sun Jul 7 13:18:50 2002 @@ -0,0 +1,11 @@ +--- Videotex/Videotex.c.orig Sun Feb 11 01:13:00 2001 ++++ Videotex/Videotex.c Sun Jul 7 13:17:57 2002 +@@ -22,7 +22,7 @@ + /* + * Widget Videotex: VideotexWidgetClass + */ +-#include ++#include + #include + #include + #include