aboutsummaryrefslogtreecommitdiffstats
path: root/editors
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
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')
-rw-r--r--editors/xemacs-devel/Makefile4
-rw-r--r--editors/xemacs/Makefile4
-rw-r--r--editors/xemacs21/Makefile4
3 files changed, 6 insertions, 6 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::
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 2727ac7544a9..a5cbd6c2e61e 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/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::
diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile
index 68c451039851..00235a792430 100644
--- a/editors/xemacs21/Makefile
+++ b/editors/xemacs21/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::