diff options
Diffstat (limited to 'net/tcl-scotty/patches/patch-unix_configure')
-rw-r--r-- | net/tcl-scotty/patches/patch-unix_configure | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net/tcl-scotty/patches/patch-unix_configure b/net/tcl-scotty/patches/patch-unix_configure new file mode 100644 index 00000000000..f30acf59bab --- /dev/null +++ b/net/tcl-scotty/patches/patch-unix_configure @@ -0,0 +1,49 @@ +$NetBSD: patch-unix_configure,v 1.1 2014/03/05 13:52:29 he Exp $ + +Default target to build & install scotty & tkined. +Append TCL_LIBS to library setting, so that tcl library is picked up. + +--- unix/configure.orig 1998-11-03 16:16:50.000000000 +0100 ++++ unix/configure +@@ -1059,7 +1059,11 @@ fi + fi + + fi ++ ++if [ x"$TARGET" = x ] ++then + TARGET="scotty tkined" ++fi + + #-------------------------------------------------------------------- + # Check for various system specific things. +@@ -1480,9 +1484,8 @@ echo "configure:1472: checking for tkCon + done + + if test "$found" -eq 0 ; then +- { echo "configure: error: "tkConfig.sh not found - use the --with-tk-config option"" 1>&2; exit 1; } +-fi +- ++ { echo "configure: error: tkConfig.sh not found" 1>&2; } ++else + . $tnm_cv_path_tk_config/tkConfig.sh + TK_INCLUDES=-I$TK_PREFIX/include + if test "$TK_INCLUDES" = "$TCL_INCLUDES" ; then +@@ -1499,6 +1502,8 @@ if test 4 -eq $TK_MAJOR_VERSION -a 1 -gt + { echo "configure: error: "tk 4.1 or later needed"" 1>&2; exit 1; } + fi + ++fi ++ + #---------------------------------------------------------------------------- + # Check for the existence of various libraries. + #---------------------------------------------------------------------------- +@@ -2443,6 +2448,8 @@ fi + + fi + ++LIBS="$LIBS $TCL_LIBS" ++ + echo $ac_n "checking for getmntent""... $ac_c" 1>&6 + echo "configure:2448: checking for getmntent" >&5 + if eval "test \"`echo '$''{'ac_cv_func_getmntent'+set}'`\" = set"; then |