summaryrefslogtreecommitdiff
path: root/www/tclhttpd/scripts/post-patch
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2004-11-19 21:36:45 +0000
committerMikhail Teterin <mi@FreeBSD.org>2004-11-19 21:36:45 +0000
commit554e996bf8011a2cdffa719cdc837bf00afe32a1 (patch)
treead62c23fb212f3ad09c0c63a589a1ad94f370d60 /www/tclhttpd/scripts/post-patch
parentAdd OPTION for compiling hugs with OpenGL/GLUT support. (diff)
Upgrade devel/tcllib from 1.6 to 1.7 and www/tclhttpd from 3.4.2 to 3.5.1.
Update dependency lines in amsn and tclxml.
Notes
Notes: svn path=/head/; revision=121980
Diffstat (limited to 'www/tclhttpd/scripts/post-patch')
-rw-r--r--www/tclhttpd/scripts/post-patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/www/tclhttpd/scripts/post-patch b/www/tclhttpd/scripts/post-patch
index 26de6121b1fd..0ac49a5f89ca 100644
--- a/www/tclhttpd/scripts/post-patch
+++ b/www/tclhttpd/scripts/post-patch
@@ -1,10 +1,6 @@
if [ ${LOCALBASE} != /usr/local ] ; then
- for f in `find ${WRKSRC} -type f | xargs grep -l /usr/local`
- do
- cp -p $f $f.ul && \
- sed "s%/usr/local%${LOCALBASE}%g" < $f.ul > $f \
- && rm -f $f.ul
- done
+ find ${WRKSRC} -type f | xargs grep -l /usr/local |\
+ xargs sed -i "" -e s%/usr/local%${LOCALBASE}%g
fi
for f in `find ${WRKSRC} -type f | \
xargs grep -l '^exec tclsh.* '`