From a8aa1a8c8ca8e3a4f48ee658c7889c7a58708969 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Wed, 11 Feb 2004 23:01:23 +0000 Subject: Avoid REINPLACE_CMD dependency. --- www/firefox-esr/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'www/firefox-esr') diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 7c9db3f24c3f..c62839d5aa0c 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -39,7 +39,6 @@ USE_GMAKE= yes USE_GNOME= gtk20 libidl USE_ICONV= yes USE_PERL5= yes -USE_REINPLACE= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/mozilla @@ -117,11 +116,12 @@ post-patch: ${WRKSRC}/js/src/Makefile.in @${PERL} -pi -e 's|libesd\.so\.0|${ESD_LIB}|g' \ ${WRKSRC}/widget/src/gtk2/nsSound.cpp - @${REINPLACE_CMD} -e \ - '/accessibility.typeaheadfind.enablesound/s/true/false/' \ - ${WRKSRC}/modules/libpref/src/init/all.js \ - ${WRKSRC}/browser/app/profile/all.js \ - ${WRKSRC}/calendar/sunbird/app/profile/all.js +.for ii in modules/libpref/src/init browser/app/profile \ + calendar/sunbird/app/profile + ${MV} ${WRKSRC}/${ii}/all.js ${WRKSRC}/${ii}/all.js.bak + ${SED} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \ + < ${WRKSRC}/${ii}/all.js.bak > ${WRKSRC}/${ii}/all.js +.endfor pre-install: # Overview: the program installs itself in FAKEDIR, then a list is made of the -- cgit v1.2.3