mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
afae53b35d
/usr/local/pilot subhierarchy since this thing installs a *lot* of executables and headers, many of which may well conflict with other tools. This also makes it consistent with the prc-tools port. Use suggestion from Satoshi to deal with PREFIX (thanks, Satoshi!).
101 lines
3.5 KiB
Plaintext
101 lines
3.5 KiB
Plaintext
--- configure.orig Sat Dec 13 23:27:17 1997
|
|
+++ configure Wed Jan 14 06:49:36 1998
|
|
@@ -9,7 +9,7 @@
|
|
|
|
# Defaults:
|
|
ac_help=
|
|
-ac_default_prefix=/usr/local
|
|
+ac_default_prefix=/usr/local/pilot
|
|
# Any additions from configure.in:
|
|
ac_help="$ac_help
|
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]"
|
|
@@ -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)"
|