summaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-02-11 23:01:23 +0000
committertrevor <trevor@FreeBSD.org>2004-02-11 23:01:23 +0000
commit49c549704f0ea724b72b7e4c564b989ac14502ca (patch)
tree711e88f87eab864bd49d9b5c0a7cbcd1217b32e4 /www/firefox35
parentf0f15621e3fa41890001df0abdfc8b3fa2ef5ab7 (diff)
downloadFreeBSD-ports-49c549704f0ea724b72b7e4c564b989ac14502ca.zip
FreeBSD-ports-49c549704f0ea724b72b7e4c564b989ac14502ca.tar.gz
Avoid REINPLACE_CMD dependency.
Diffstat (limited to 'www/firefox35')
-rw-r--r--www/firefox35/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index 7c9db3f..c62839d 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/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
OpenPOWER on IntegriCloud