From 85a316b00e4eebe8552c6a4ddaf2012dad0d1ef0 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Wed, 25 Sep 2002 14:09:40 +0000 Subject: s/perl/sed/ --- x11-wm/aewm/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'x11-wm/aewm') diff --git a/x11-wm/aewm/Makefile b/x11-wm/aewm/Makefile index 8fc9f2e0ca74..c7e29d04d5b0 100644 --- a/x11-wm/aewm/Makefile +++ b/x11-wm/aewm/Makefile @@ -27,6 +27,8 @@ USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOMENG= yes WANT_GNOME= yes +USE_REINPLACE= yes +REINPLACE_ARGS= -i'' -E .include .if ${HAVE_GNOME:Mgtk12}!="" @@ -35,13 +37,13 @@ PKGNAMESUFFIX= -gtk .endif do-patch: - ${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ + ${REINPLACE_CMD} 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \ ${WRKSRC}/aewm.h - ${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} 's:\+make:\+gmake:g' ${WRKSRC}/Makefile .if ${HAVE_GNOME:Mgtk12}!="" - ${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \ + ${REINPLACE_CMD} 's:gtk-config:${GTK_CONFIG}:g' \ ${WRKSRC}/clients/Makefile - ${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \ + ${REINPLACE_CMD} 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \ ${WRKSRC}/clients/lib/aeclients.h .endif -- cgit v1.2.3