head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.10.12.11.10.30;	author jhale;	state dead;
branches;
next	1.1;

1.1
date	2011.05.15.17.09.38;	author ohauer;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 305773 on 2012-10-12 11:10:30Z by jhale

- Update to 1.10
- Convert to new options framework
- Allow for any available version of TCL to be used
- Add LICENSE
- Remove indefinite article from COMMENT, update
- Mark MAKE_JOBS_SAFE
- Trim Makefile header

PR:		ports/172456
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
Approved by:	makc (mentor)
Feature safe:	yes
@
text
@--- ./configure.orig	2010-12-26 23:39:18.000000000 +0100
+++ ./configure	2011-05-15 18:42:45.000000000 +0200
@@@@ -13610,93 +13610,6 @@@@
     fi
 fi
 
-# Checking for Tcl support (required by spo_sguil)
-
-# Check whether --with-tcl was given.
-if test "${with_tcl+set}" = set; then :
-  withval=$with_tcl;  with_tcl="$withval"
-else
-   with_tcl=no
-fi
-
-
-if test "$with_tcl" != "no"; then
-    # prioritise manual definition of the Tcl library.
-	if test -d "$with_tcl"; then
-		tclpath="$with_tcl"
-	else
-		# let tclsh tell us where it was installed (prefer new Tcl versions).
-		for ac_prog in tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0 tclsh
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_TCLSH+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$TCLSH"; then
-  ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_TCLSH="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-TCLSH=$ac_cv_prog_TCLSH
-if test -n "$TCLSH"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
-$as_echo "$TCLSH" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$TCLSH" && break
-done
-
-	    if test "$TCLSH" != ""; then
-			tclpath=`echo 'puts [lindex $tcl_pkgPath 0]' | $TCLSH`
-		fi
-	fi
-
-	# check, if tclConfig.sh can be found in tclsh's installation directory.
-    if test ! -r $tclpath/tclConfig.sh; then
-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
-	Can't find Tcl libraries.  Use --with-tcl to specify
-        the directory containing tclConfig.sh on your system.
-	Continuing build without Tcl support." >&5
-$as_echo "
-	Can't find Tcl libraries.  Use --with-tcl to specify
-        the directory containing tclConfig.sh on your system.
-	Continuing build without Tcl support." >&6; }
-    else
-	# source tclsh's configuration file and tell the user about the version.
-	. $tclpath/tclConfig.sh
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the tcl version number" >&5
-$as_echo_n "checking for the tcl version number... " >&6; }
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&5
-$as_echo "$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&6; }
-        LIBS="$LIBS $TCL_LIBS $TCL_LIB_SPEC"
-	TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION"
-	CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL";
-    fi
-fi
-
-
 # Check whether --with-mysql was given.
 if test "${with_mysql+set}" = set; then :
   withval=$with_mysql;  with_mysql="$withval"
@@@@ -14496,6 +14409,93 @@@@
   LIBS="${LIBS} -lbroccoli"
 fi
 
+# Checking for Tcl support (required by spo_sguil)
+
+# Check whether --with-tcl was given.
+if test "${with_tcl+set}" = set; then :
+  withval=$with_tcl;  with_tcl="$withval"
+else
+   with_tcl=no
+fi
+
+
+if test "$with_tcl" != "no"; then
+    # prioritise manual definition of the Tcl library.
+	if test -d "$with_tcl"; then
+		tclpath="$with_tcl"
+	else
+		# let tclsh tell us where it was installed (prefer new Tcl versions).
+		for ac_prog in tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0 tclsh
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_TCLSH+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$TCLSH"; then
+  ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_TCLSH="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+TCLSH=$ac_cv_prog_TCLSH
+if test -n "$TCLSH"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
+$as_echo "$TCLSH" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$TCLSH" && break
+done
+
+	    if test "$TCLSH" != ""; then
+			tclpath=`echo 'puts [lindex $tcl_pkgPath 0]' | $TCLSH`
+		fi
+	fi
+
+	# check, if tclConfig.sh can be found in tclsh's installation directory.
+    if test ! -r $tclpath/tclConfig.sh; then
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
+	Can't find Tcl libraries.  Use --with-tcl to specify
+        the directory containing tclConfig.sh on your system.
+	Continuing build without Tcl support." >&5
+$as_echo "
+	Can't find Tcl libraries.  Use --with-tcl to specify
+        the directory containing tclConfig.sh on your system.
+	Continuing build without Tcl support." >&6; }
+    else
+	# source tclsh's configuration file and tell the user about the version.
+	. $tclpath/tclConfig.sh
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the tcl version number" >&5
+$as_echo_n "checking for the tcl version number... " >&6; }
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&5
+$as_echo "$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&6; }
+        LIBS="$LIBS $TCL_LIBS $TCL_LIB_SPEC"
+	TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION"
+	CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL";
+    fi
+fi
+
+
 # let's make some fixes..
 
 CFLAGS=`echo $CFLAGS | sed -e 's/-I\/usr\/include //g'`
@


1.1
log
@- add patch to barnyard2 to allow build with postgresql and tcl
  (reported and fixed upstream)
- display option TCL only for Master port, it makes no sense if
  the slave can de-select a required option
- remove broken barnyard-sguil (master port was removed 2011-04-04)
- add new port barnyard2-sguil [1]
- add entry to MOVED

PR:		ports/156188 [1]
Submitted by:	me
Approved by:	maintainer timeout
@
text
@@

