1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/tix/files/patch-aa
Thomas Gellekum 830dc3c44a - use installed header files for tcl and tk;
we no longer need the full sources to these

- install the tix header files for the C interface
1997-01-07 08:17:13 +00:00

87 lines
2.4 KiB
Plaintext

--- configure.orig Wed Dec 25 06:03:25 1996
+++ configure Sun Jan 5 20:14:01 1997
@@ -2583,20 +2583,20 @@
done
fi
- if test ! -r $TCL75_SRC_DIR/unix/tclConfig.sh.in; then
- TCL75_SRC_DIR=""
- fi
+# if test ! -r $TCL75_SRC_DIR/unix/tclConfig.sh.in; then
+# TCL75_SRC_DIR=""
+# fi
if test "$TCL75_SRC_DIR" = ""; then
echo "$ac_t""(not found)" 1>&6
else
echo "$ac_t""$TCL75_SRC_DIR" 1>&6
- if test ! -r "$TCL75_SRC_DIR/unix/tclConfig.sh"; then
- echo "warning: $TCL75_SRC_DIR/unix/tclConfig.sh missing"
- echo " Please to configure tcl 7.5 first."
- TCL75_SRC_DIR=""
- fi
+# if test ! -r "$TCL75_SRC_DIR/unix/tclConfig.sh"; then
+# echo "warning: $TCL75_SRC_DIR/unix/tclConfig.sh missing"
+# echo " Please to configure tcl 7.5 first."
+# TCL75_SRC_DIR=""
+# fi
fi
#
@@ -2614,20 +2614,20 @@
done
fi
- if test ! -r $TK41_SRC_DIR/unix/tkConfig.sh.in; then
- TK41_SRC_DIR=""
- fi
+# if test ! -r $TK41_SRC_DIR/unix/tkConfig.sh.in; then
+# TK41_SRC_DIR=""
+# fi
if test "$TK41_SRC_DIR" = ""; then
echo "$ac_t""(not found)" 1>&6
else
echo "$ac_t""$TK41_SRC_DIR" 1>&6
- if test ! -r "$TK41_SRC_DIR/unix/tkConfig.sh"; then
- echo "warning: $TK41_SRC_DIR/unix/tkConfig.sh missing"
- echo " Please to configure tk 4.1 first."
- TK41_SRC_DIR=""
- fi
+# if test ! -r "$TK41_SRC_DIR/unix/tkConfig.sh"; then
+# echo "warning: $TK41_SRC_DIR/unix/tkConfig.sh missing"
+# echo " Please to configure tk 4.1 first."
+# TK41_SRC_DIR=""
+# fi
fi
#----------------------------------------------------------------------
# MAIN STUFF
@@ -2635,7 +2635,7 @@
if test "$TK41_SRC_DIR" != "" -a "$TCL75_SRC_DIR" != ""; then
# 1. Load the compilation flags for TCL 7.5
#
- file="$TCL75_SRC_DIR/unix/tclConfig.sh"
+ file=/usr/libdata/tcl/tclConfig.sh
. $file
@@ -2646,14 +2646,14 @@
SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
SHLIB_LD=$TCL_SHLIB_LD
SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
- SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
SHLIB_VERSION=$TCL_SHLIB_VERSION
+ SHLIB_SUFFIX=${TCL_SHLIB_SUFFIX}.1.0
DL_LIBS=$TCL_DL_LIBS
LD_FLAGS=$TCL_LD_FLAGS
# 2. Load the compilation flags for TK 4.1
#
- file="$TK41_SRC_DIR/unix/tkConfig.sh"
+ file="${PREFIX}/lib/tkConfig.sh"
. $file
TIX_TARGETS="$TIX_TARGETS unix-tk4.1"