aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmris
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-04 23:12:57 +0800
committerjkh <jkh@FreeBSD.org>1994-10-04 23:12:57 +0800
commitc78727d9cdecf0e15ee634abc6daed14492ac621 (patch)
treecb45fd1a644cc18c8c138010fbcf68f3f16e389e /games/xmris
parent5dd6940f08023612e64f9e143ff1cec3e1e97d60 (diff)
downloadfreebsd-ports-gnome-c78727d9cdecf0e15ee634abc6daed14492ac621.tar.gz
freebsd-ports-gnome-c78727d9cdecf0e15ee634abc6daed14492ac621.tar.zst
freebsd-ports-gnome-c78727d9cdecf0e15ee634abc6daed14492ac621.zip
These are my changes to support the new argument-less configure scripts.
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