diff options
Diffstat (limited to 'www/ap-dtcl/patches/patch-aa')
-rw-r--r-- | www/ap-dtcl/patches/patch-aa | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/www/ap-dtcl/patches/patch-aa b/www/ap-dtcl/patches/patch-aa new file mode 100644 index 00000000000..6ac163e4737 --- /dev/null +++ b/www/ap-dtcl/patches/patch-aa @@ -0,0 +1,72 @@ +$NetBSD: patch-aa,v 1.3 2001/05/24 03:04:05 jlam Exp $ + +--- builddtcl.sh.orig Tue May 1 11:56:01 2001 ++++ builddtcl.sh Wed May 23 12:36:09 2001 +@@ -1,57 +1,6 @@ + #!/bin/sh + # $Id: patch-aa,v 1.3 2001/05/24 03:04:05 jlam Exp $ + +-# Name of tclsh - on FreeBSD, this is probably tclsh8.2 +-TCLSH=tclsh ######### CHANGEME ########## +-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +-TCLSH=`which $TCLSH` +- +-if [ "$TCLSH" = "" ] +- then +- echo "No tclsh executable, please edit builddtcl.sh" +- exit 1 +-fi +- +-TCLSHEXIST=`echo "puts helloworld" | $TCLSH` +-if [ "$TCLSHEXIST" != "helloworld" ] +- then +- echo "Tclsh is not $TCLSH, please edit builddtcl.sh" +- exit 1 +- else +- echo "Using $TCLSH as tclsh program" +-fi +- +-# Location of Apache source install (for static installs - you can +-# comment this out for shared lib installs +-APACHE=$HOME/download/apache-1.3/ ######### CHANGEME ########## +-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +-# APACHE=/usr/local/src/apache-1.3/ +-# APACHE=/ +- +-export APACHE +- +-if [ -d $APACHE ] +- then +- echo "Apache in $APACHE" +- else +- echo "Apache NOT in $APACHE, please edit builddtcl.sh" +- exit 1 +-fi +- +-# Location of Apache include files. +-INC=/usr/include/apache-1.3/ ######### CHANGEME ########## +-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +-# INC=$APACHE/src/include +- +-if [ -f $INC/httpd.h ] +- then +- echo "Apache includes in $INC" +- INCLUDES="-I$INC" ; export INCLUDES +- else +- echo "Apache include files *not* in $INC, please edit builddtcl.sh" +- exit 1 +-fi +- + # find location of tclConfig.sh, source it, and export variables to + # make them available to 'make' + +@@ -60,9 +9,7 @@ + . $CONFIG + + export TCL_CC +-export TCL_CFLAGS_DEBUG + export TCL_CFLAGS_OPTIMIZE +-export TCL_CFLAGS_WARNING + export TCL_EXTRA_CFLAGS + export TCL_LIBS + export TCL_LIB_FLAG |