summaryrefslogtreecommitdiff
path: root/games/xmris
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmris')
-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