--- plamo/01_minimum/devel.txz/old/gettext-20160702/PlamoBuild.gettext-0.19.7 2016-07-02 03:16:22.000000000 +0900 +++ plamo/01_minimum/devel.txz/gettext/PlamoBuild.gettext-0.19.7 2016-08-24 20:36:49.000000000 +0900 @@ -5,7 +5,7 @@ pkgbase=gettext vers=0.19.7 arch=`uname -m` -build=P2 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -237,6 +237,8 @@ cd $B cp -p gettext-tools/src/Makefile.in{,.orig} sed -i 's@$(GCJ)@LANG=C &@g' gettext-tools/src/Makefile.in + export EMACS=`( which emacs || which emacs_mini ) 2> /dev/null \ + | sed 's@.*/@@'` for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -308,10 +310,13 @@ touch -r $S $docdir/$src convert tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/gettext tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/emacs/site-lisp | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/$src tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2`