mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add directives such as HasJpTk and HasJpTcl when compiling with japanese tcl/tk
PR: ports/12851 Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
This commit is contained in:
parent
9a2cc74bea
commit
317951fdc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23607
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
44
x11-servers/XFree86-4-Server/scripts/configure
vendored
44
x11-servers/XFree86-4-Server/scripts/configure
vendored
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
44
x11/XFree86-4-clients/scripts/configure
vendored
44
x11/XFree86-4-clients/scripts/configure
vendored
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
44
x11/XFree86-4-libraries/scripts/configure
vendored
44
x11/XFree86-4-libraries/scripts/configure
vendored
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
44
x11/XFree86-4/scripts/configure
vendored
44
x11/XFree86-4/scripts/configure
vendored
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
44
x11/XFree86/scripts/configure
vendored
44
x11/XFree86/scripts/configure
vendored
@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
|
||||
fi
|
||||
done
|
||||
if [ X$tkversion != X ]; then
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
case $tkversion in
|
||||
*jp)
|
||||
echo "Using Japanized tk-$jptkLversion"
|
||||
if [ X"${MACHINE}" = X"pc98" ]; then
|
||||
echo "#define HasJpTk YES" >>$F
|
||||
echo "#define JpTkLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define JpTkLibName tk$tkversion" >>$F
|
||||
echo "#define HasJpTcl YES" >>$F
|
||||
echo "#define JpTclLibDir /usr/local/lib" >>$F
|
||||
echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define JpTclLibName tcl$tclversion" >>$F
|
||||
else
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Using tk-$tkLversion"
|
||||
echo "#define HasTk YES" >>$F
|
||||
echo "#define TkLibDir /usr/local/lib" >>$F
|
||||
echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
|
||||
echo "#define TkLibName tk$tkversion" >>$F
|
||||
echo "#define HasTcl YES" >>$F
|
||||
echo "#define TclLibDir /usr/local/lib" >>$F
|
||||
echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
|
||||
echo "#define TclLibName tcl$tclversion" >>$F
|
||||
;;
|
||||
esac
|
||||
else
|
||||
cat <<EOF
|
||||
*** I don't see the static library for tk version $tkversion in /usr/local/lib.
|
||||
|
Loading…
Reference in New Issue
Block a user