summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-09-25 14:09:40 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-09-25 14:09:40 +0000
commit85a316b00e4eebe8552c6a4ddaf2012dad0d1ef0 (patch)
tree0f900a3c8af46a5e32041fbb2b120352f5059200
parentSilence "extra tokens at end of #endif directive" warnings on -CURRENT. (diff)
s/perl/sed/
-rw-r--r--x11-wm/aewm/Makefile10
1 files changed, 6 insertions, 4 deletions
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 <bsd.port.pre.mk>
.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