$ cd xv-3.10a-Darwin
$ vi Makefile
....
JPEGDIR = /usr/local
JPEGINC = -I$(JPEGDIR)/include
JPEGLIB = $(JPEGDIR)/lib/libjpeg.a
....
DESTDIR =
BINDIR = $(DESTDIR)/usr/local/bin
MANDIR = $(DESTDIR)/usr/local/man/man1
MANSUF = 1
LIBDIR = $(DESTDIR)/usr/local/lib
$ make
$ su
# mkdir -p tmp/usr/local/{bin,lib,man/man1}
# make install DESTDIR=`pwd`/tmp
# tar -zcvf ../../../../tgz/xv-3.10a-xf86.tar.gz -C tmp usr
# tar -zxvf ../../../../tgz/xv-3.10a-xf86.tar.gz -C /
# exit
blt
$ cd blt2.4m
$ cd cf
$ patch -p1 -s < ../../blt/blt2.4m_destdir.patch
$ patch -p1 -s < ../../blt/blt2.4m_demos.patch
$ patch -p1 -s < ../../blt/blt2.4m_jp.patch
$ mv config.guess config.guess.ORIG
$ mv config.sub config.sub.ORIG
$ cp ../../../vflib/build/VFlib2/config.guess .
$ cp ../../../vflib/build/VFlib2/config.sub .
$ ./configure --prefix=/usr/local
$ make >& make.log &
$ su
# mkdir -p tmp/usr/local
# make install instroot=`pwd`/tmp
# pushd tmp/usr/local/lib
# ln -s blt2.4 blt
# ln -s libBLT.so.2.4 libBLT.dylib
# popd
# tar -zcvf ../../../../tgz/blt2.4m-bin.tar.gz -C tmp usr
# tar -zxvf ../../../../tgz/blt2.4m-bin.tar.gz -C /
# exit
ncftp
$ cd ncftp-3.0.2Note:
$ patch -p1 -s < ../../ncftp/ncftp-3.0beta21-y2k.patch
$ patch -p0 -s < ../../ncftp/ncftp-3.0.1-pref.patch
$ su
# cd /usr/local/include
# ln -s ncurses/ncurses.h .
# exit
$ ./configure --prefix=/usr/local --enable-signals
$ make STRIPFLAG=""
$ su
# mkdir -p tmp/usr/local/{bin,man/man1}
# make install prefix=`pwd`/tmp/usr/local
# tar -zcvf ../../../../tgz/ncftp-3.0.2-bin.tar.gz -C tmp/ usr
# tar -zxvf ../../../../tgz/ncftp-3.0.2-bin.tar.gz -C /
$ cp /usr/share/misc/termcap ~/.termcapThis must fix strange behavior of ncftp in hosts menu.
$ cat <kterm source dir>/termcap.kt >> ~/.termcap
tgif
$ cd tgif-4.1.40
$ cp Tgif.tmpl-linux Tgif.tmpl
$ vi Tgif.tmpl
.....
EXTDEFINES = -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" \@@\
-DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" \@@\
-DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \@@\
-DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" \@@\
-D_NO_RAND48 \@@\
-DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\"
.....
SYS_LIBRARIES = -lXt -lX11 -lSM -lICE -ldl -lm
$ xmkmf
$ make
$ su
# mkdir tmp
# make DESTDIR=`pwd`/tmp TGIFDIR=/usr/X11R6/lib/X11/tgif install
# make DESTDIR=`pwd`/tmp install.man
# tar -zcvf ../../../../tgz/tgif-4.1.40-xf86.tar.gz -C tmp usr
# tar -zxvf ../../../../tgz/tgif-4.1.40-xf86.tar.gz -C /
# exit
# vi /proj/soft/jsf/pro/conf/makejsf.tmpl今までにコンパイルしたもののソースおよびパッチは macosx/src に、またバイナリーの tar ball は macosx/tgz または macosx/darwin.tgz にそれぞれ置いてある。いつものように使う場合は自己責任で。
......
# ifndef InstallSharedLibrary
# define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.so.rev) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
@T=`echo Concat($(DESTDIR)dest/lib,libname.so.rev) | sed 's/\.[^\.]*$$//'`;\
set -x; $(RM) $$T && $(LN) Concat(lib,libname.so.rev) $$T @@\
@if $(SOSYMLINK); then (set -x; \
$(RM) Concat($(DESTDIR)dest/lib,libname.so); \ @@\
$(LN) Concat(lib,libname.so.rev) Concat($(DESTDIR)dest/lib,libname.so));
fi
# endif$ cd baby
$ vi Makefile
....
SHELL = /bin/bash
....
$ vi src/Makefile
....
SHELL = /bin/bash
....