diff options
Diffstat (limited to 'x11-toolkits/iv/scripts')
-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 |