summaryrefslogtreecommitdiff
path: root/x11-toolkits/iv
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 /x11-toolkits/iv
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 'x11-toolkits/iv')
-rw-r--r--x11-toolkits/iv/scripts/configure19
1 files changed, 4 insertions, 15 deletions
diff --git a/x11-toolkits/iv/scripts/configure b/x11-toolkits/iv/scripts/configure
index 25f71cd4487c..4caffef6f41a 100644
--- a/x11-toolkits/iv/scripts/configure
+++ b/x11-toolkits/iv/scripts/configure
@@ -1,22 +1,11 @@
#!/bin/sh
#
-if [ $# -ne 3 ]; then
- echo "This script should only be run by the Makefile."
- exit 1
-fi
-
-# First arg is top level ports directory, second is current directory,
-# third is the directory containing the dist.
-#
-PDIR=$1
-CDIR=$2
-WDIR=$3
-touch ${WDIR}/src/config/freebsd.cf
-find ${WDIR} -name Makefile -print | xargs rm
+touch ${WRKSRC}/src/config/freebsd.cf
+find ${WRKSRC} -name Makefile -print | xargs rm
xpath=`/usr/bin/which imake 2>/dev/null`
if [ -n $xpath ]; then
xpath=`echo $xpath | sed 's;/bin/imake$;;'`
- sed "s;/usr/X386;$xpath;" ${WDIR}/makefile >${WDIR}/makefile.foo
- mv ${WDIR}/makefile.foo ${WDIR}/makefile
+ sed "s;/usr/X386;$xpath;" ${WRKSRC}/makefile >${WRKSRC}/makefile.foo
+ mv ${WRKSRC}/makefile.foo ${WRKSRC}/makefile
fi