1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix for japanized tk.

Use ${PREFIX} instead of /usr/X11R6

Submitted by:	NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
This commit is contained in:
Jean-Marc Zucconi 2000-11-07 01:05:17 +00:00
parent ea61222e40
commit e6e5a41cb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34862

View File

@ -28,6 +28,9 @@ F=$WRKDIR/.config
configure () {
rm -f $F
# set ProjectRoot to be ${PREFIX}
echo "#define ProjectRoot ${PREFIX}" >>$F
# Tk detection
tkversion=
for v in 42 80 81 82 83 42jp 80jp; do
@ -75,7 +78,7 @@ done
if [ X$tkversion != X ]; then
case $tkversion in
*jp)
echo "Using Japanized tk-$jptkLversion"
echo "Using Japanized tk-$tkLversion"
if [ X"${MACHINE}" = X"pc98" ]; then
echo "#define HasJpTk YES" >>$F
echo "#define JpTkLibDir /usr/local/lib" >>$F
@ -150,7 +153,7 @@ if [ -e /etc/X11/xinit/xinitrc ]; then
else
XINITDEFAULT=YES
fi
if [ -e /usr/X11R6/lib/X11/fs/config ]; then
if [ -e ${PREFIX}/lib/X11/fs/config ]; then
XFSDEFAULT=NO
else
XFSDEFAULT=YES