1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/palm/pilot-link-devel/files/patch-ab
Paul Traina ad458ff6b3 pilot-link is a set of utilities for linking with the PalmPilot PDA.
Libraries and header files are included to allow the creation of custom
applications in C, C++, Perl5, Tcl, Java, and Python (not all are enabled
in this port).
1997-11-24 09:10:43 +00:00

92 lines
3.3 KiB
Plaintext

--- configure.orig Tue Oct 7 07:24:18 1997
+++ configure Mon Nov 24 00:46:24 1997
@@ -818,9 +818,9 @@
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+INSTALL_PROGRAM='${INSTALL}'
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_DATA='${INSTALL} -m 644'
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
@@ -2556,7 +2556,9 @@
itcl=''
if test "x$with_tcl" = "xyes" || test "x$with_tcl" = "x" ; then
for tcl_path in /usr/local/tcl8.0 /usr/local/tcl7.6 /usr/local/tcl7.5 /usr/local /usr /usr/local/tcl7.4; do
- if test -f $tcl_path/lib/tclConfig.sh; then
+ if test -f $tcl_path/lib/tcl8.0/tclConfig.sh; then
+ with_tcl=$tcl_path; break
+ elif test -f $tcl_path/lib/tclConfig.sh; then
with_tcl=$tcl_path; break
elif test -f $tcl_path/lib/itcl/tclConfig.sh; then
itcl='/itcl'
@@ -2597,13 +2599,13 @@
elif test "x$with_tcl" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- tclConfig="$with_tcl/lib$itcl/tclConfig.sh"
+ tclConfig="$with_tcl/lib/tcl8.0$itcl/tclConfig.sh"
if test ! -f $tclConfig; then
echo "$ac_t""Unable to find tclConfig.sh" 1>&6
else
. $tclConfig
echo "$ac_t""version $TCL_VERSION from $tclConfig" 1>&6
- TCL_INC="-I$TCL_PREFIX/include$itcl"
+ TCL_INC="-I$TCL_PREFIX/include/tcl8.0$itcl"
TCL_BIN="$TCL_EXEC_PREFIX/bin"
TCLLIBS="$TCL_LIB_SPEC $TCL_LIBS"
TCLTKLIBS="$TCLLIBS"
@@ -2614,7 +2616,7 @@
if test "x$with_itcl" = "xyes" || test "x$with_itcl" = "x"; then
for itcl_path in $with_tcl; do
- if test -f $itcl_path/lib$itcl/itclConfig.sh; then
+ if test -f $itcl_path/lib/tcl8.0$itcl/itclConfig.sh; then
with_itcl=$itcl_path; break
fi
done
@@ -2632,13 +2634,13 @@
elif test "x$with_itcl" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- itclConfig="$with_itcl/lib$itcl/itclConfig.sh"
+ itclConfig="$with_itcl/lib/tcl8.0$itcl/itclConfig.sh"
if test ! -f $itclConfig; then
echo "$ac_t""Unable to find itclConfig.sh" 1>&6
else
. $itclConfig
echo "$ac_t""version $ITCL_VERSION from $itclConfig" 1>&6
- ITCL_INC="-I$TK_PREFIX/include$itcl"
+ ITCL_INC="-I$TK_PREFIX/include/tcl8.0$itcl"
#TK_BIN="$TK_EXEC_PREFIX/bin"
#TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
#TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"
@@ -2656,7 +2658,7 @@
if test "x$with_tk" = "xyes" || test "x$with_tk" = "x"; then
for tk_path in $with_tcl; do
- if test -f $tk_path/lib$itcl/tkConfig.sh; then
+ if test -f $tk_path/lib/tk8.0$itcl/tkConfig.sh; then
with_tk=$tk_path; break
fi
done
@@ -2674,13 +2676,13 @@
elif test "x$with_tk" = "xno"; then
echo "$ac_t""not used" 1>&6
else
- tkConfig="$with_tk/lib$itcl/tkConfig.sh"
+ tkConfig="$with_tk/lib/tk8.0$itcl/tkConfig.sh"
if test ! -f $tkConfig; then
echo "$ac_t""Unable to find tkConfig.sh" 1>&6
else
. $tkConfig
echo "$ac_t""version $TK_VERSION from $tkConfig" 1>&6
- TK_INC="-I$TK_PREFIX/include$itcl"
+ TK_INC="-I$TK_PREFIX/include/tk8.0$itcl"
TK_BIN="$TK_EXEC_PREFIX/bin"
TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"