diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-04 15:12:57 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-04 15:12:57 +0000 |
commit | deab9494fa6cf32254d135ebd75d00f544208751 (patch) | |
tree | 9ca8c8a43c7a2bd2362c9a2c25b2248ef64a0861 /x11-toolkits/iv/scripts/configure | |
parent | Add 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/scripts/configure')
-rw-r--r-- | x11-toolkits/iv/scripts/configure | 19 |
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 |