--- plamo/02_x11/old/Xaw3d-20170925/PlamoBuild.Xaw3d-1.5E 2017-09-25 15:52:24.000000000 +0900 +++ plamo/02_x11/Xaw3d/PlamoBuild.Xaw3d-1.5E 2018-06-30 16:27:16.000000000 +0900 @@ -10,7 +10,7 @@ pkgbase=Xaw3d vers=1.5E arch=`uname -m` -build=P7 +build=P8 src=$pkgbase-$vers patchfiles="Xaw3d-1.5E-MultiSrc.c.patch.gz" OPT_CONFIG="" @@ -40,9 +40,9 @@ done apply_patches cd $B - cp -p Imakefile Imakefile.orig - sed 's@#undef ARROW@#define ARROW@g' Imakefile.orig \ - | sed 's@XCOMM EXTRA@EXTRA@g' > Imakefile + cp -p Imakefile{,.orig} + sed -i '/ARROW/s@^#undef@#define@;/EXTRA/s@^XCOMM @@' Imakefile + ln -s exports/include/X11 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then