aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs-devel
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2001-10-28 00:24:43 +0800
committergj <gj@FreeBSD.org>2001-10-28 00:24:43 +0800
commit2ba1018aaf29990ef1a60312ad501462cb376163 (patch)
tree50df79526aa7005759d88a70cd6a4943d2529a3d /editors/xemacs-devel
parentf92442c2d1b80528e86178e0639d6cc15526d034 (diff)
downloadfreebsd-ports-gnome-2ba1018aaf29990ef1a60312ad501462cb376163.tar.gz
freebsd-ports-gnome-2ba1018aaf29990ef1a60312ad501462cb376163.tar.zst
freebsd-ports-gnome-2ba1018aaf29990ef1a60312ad501462cb376163.zip
Use ${WRKDIR} instead of /tmp for the temporary output from sed because
it's just generally a better idea. Why didn't I think of that ? Submitted by: nectar
Diffstat (limited to 'editors/xemacs-devel')
-rw-r--r--editors/xemacs-devel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index 2727ac7544a9..a5cbd6c2e61e 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/Makefile
@@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
# fix .so references in a few man pages
pre-configure::
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
- @${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
- @${MV} /tmp/tmp_zot ${WRKSRC}/${file}
+ @${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
+ @${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
.endfor
post-install::