aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-02-12 07:01:23 +0800
committertrevor <trevor@FreeBSD.org>2004-02-12 07:01:23 +0800
commit49c549704f0ea724b72b7e4c564b989ac14502ca (patch)
tree711e88f87eab864bd49d9b5c0a7cbcd1217b32e4 /www/firefox
parentf0f15621e3fa41890001df0abdfc8b3fa2ef5ab7 (diff)
downloadfreebsd-ports-gnome-49c549704f0ea724b72b7e4c564b989ac14502ca.tar.gz
freebsd-ports-gnome-49c549704f0ea724b72b7e4c564b989ac14502ca.tar.zst
freebsd-ports-gnome-49c549704f0ea724b72b7e4c564b989ac14502ca.zip
Avoid REINPLACE_CMD dependency.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 7c9db3f24c3f..c62839d5aa0c 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/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