aboutsummaryrefslogtreecommitdiff
path: root/contrib/bind/port/settings
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2002-11-14 10:04:52 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2002-11-14 10:04:52 +0000
commit9b65e7380c0620dba2d29d66c79bec2a7ab6d9c7 (patch)
tree56e477bc321034b617d781c3cbdc1b17e7296633 /contrib/bind/port/settings
parent4a43fe6c983881f9b953906cb4e8afaa41b49b86 (diff)
This commit was manufactured by cvs2svn to create tagvendor/bind/8.3.3.patched
'bind-vendor-v8_3_3_patched'.
Notes
Notes: svn path=/vendor/bind/dist/; revision=106907 svn path=/vendor/bind/8.3.3.patched/; revision=106909; tag=vendor/bind/8.3.3.patched
Diffstat (limited to 'contrib/bind/port/settings')
-rwxr-xr-xcontrib/bind/port/settings39
1 files changed, 0 insertions, 39 deletions
diff --git a/contrib/bind/port/settings b/contrib/bind/port/settings
deleted file mode 100755
index 539faf21f3b7..000000000000
--- a/contrib/bind/port/settings
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# this process is necessary because make(1) puts its command line into
-# the environment, and when we exec a sub-make we need these command
-# line settings (like CDEBUG=-g for example) to override what we get out
-# of port/$systype/Makefile.set. therefore feed Makefile.set to this
-# and it will merge things appropriately. a cache file is maintained
-# to avoid calling this script way too often.
-
-cachefile=${1-//}
-if [ -f "$cachefile" ]; then
- echo "Using $cachefile" >&2
- exec cat $cachefile
-fi
-
-case $cachefile in
-//) ;;
-*) echo "Making $cachefile" >&2 ;;
-esac
-
-# expr is sensitive to LC_COLLATE settings. We want 'C'.
-LC_COLLATE=C
-export LC_COLLATE
-
-result=''
-while read setting; do
- var=`expr "$setting" : "'\([A-Z0-9_]*\)="`
- val=`expr "$setting" : "'[A-Z0-9_]*=\([^']*\)'\$"`
- eval "env=`echo \\${\$var-'$val'}`"
- result="$result '$var=$env'"
-done
-
-case $cachefile in
-//) echo $result ;;
-*) echo $result > $cachefile
- exec cat $cachefile ;;
-esac
-
-exit