summaryrefslogtreecommitdiff
path: root/games/xmris/scripts/pre-configure
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-10-04 15:12:57 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-10-04 15:12:57 +0000
commitdeab9494fa6cf32254d135ebd75d00f544208751 (patch)
tree9ca8c8a43c7a2bd2362c9a2c25b2248ef64a0861 /games/xmris/scripts/pre-configure
parentAdd games hierarchy. (diff)
These are my changes to support the new argument-less configure scripts.
Notes
Notes: svn path=/head/; revision=170
Diffstat (limited to 'games/xmris/scripts/pre-configure')
-rw-r--r--games/xmris/scripts/pre-configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/xmris/scripts/pre-configure b/games/xmris/scripts/pre-configure
index 8214f8999e32..ba6bc097353d 100644
--- a/games/xmris/scripts/pre-configure
+++ b/games/xmris/scripts/pre-configure
@@ -7,14 +7,14 @@ if [ $? != 0 ]; then
exit 1
fi
-mv $3/Imakefile $3/Imakefile.orig
+mv ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
-echo "LOCAL=/usr/local" >$3/Imakefile || exit 1;
+echo "LOCAL=/usr/local" >${WRKSRC}/Imakefile || exit 1;
# remove extra space after \ in continuation lines
-sed -e 's/\\ $/\\/' <$3/Imakefile.orig >>$3/Imakefile || exit 1
+sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
-echo "CDEBUGFLAGS=-O2" >>$3/Imakefile || exit 1
-echo "MANSUFFIX=6" >>$3/Imakefile || exit 1
+echo "CDEBUGFLAGS=-O2" >>${WRKSRC}/Imakefile || exit 1
+echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
exit 0