aboutsummaryrefslogtreecommitdiffstats
path: root/shells/wapsh
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-03-30 06:48:09 +0800
committermharo <mharo@FreeBSD.org>2001-03-30 06:48:09 +0800
commitcfec48411ff7decfcd6f1b69a7587d9fdceec4a7 (patch)
tree940a42e7a3ebd0c09b39e2d501f06ebb8b2d62fe /shells/wapsh
parent367d9f12fecbe9b9ff8230482382fbb5c7c6ed37 (diff)
downloadfreebsd-ports-gnome-cfec48411ff7decfcd6f1b69a7587d9fdceec4a7.tar.gz
freebsd-ports-gnome-cfec48411ff7decfcd6f1b69a7587d9fdceec4a7.tar.zst
freebsd-ports-gnome-cfec48411ff7decfcd6f1b69a7587d9fdceec4a7.zip
make WRKDIR safe (fix broken on bento)
Diffstat (limited to 'shells/wapsh')
-rw-r--r--shells/wapsh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile
index dcee040ca770..12529c5a502d 100644
--- a/shells/wapsh/Makefile
+++ b/shells/wapsh/Makefile
@@ -41,8 +41,8 @@ HTDOCS= command.php command_html.inc command_wml.inc \
shortcuts_wml.php
post-patch:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > foo && \
- ${MV} foo ${WRKSRC}/htshd/htshd.c
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > ${WRKDIR}/foo && \
+ ${MV} ${WRKDIR}/foo ${WRKSRC}/htshd/htshd.c
do-build:
(cd ${WRKSRC}/htshd && ${CC} ${CFLAGS} -o htshd htshd.c -lcrypt \