2009-03-23 21:31:30 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
tar xvfz $src
|
|
|
|
|
2014-07-31 05:38:00 +01:00
|
|
|
cd plan9port
|
|
|
|
|
|
|
|
cflags="echo \"CFLAGS='-I${libXt}/include'\" >> \$PLAN9/config"
|
|
|
|
|
|
|
|
sed -i "43i\\${cflags}" INSTALL
|
2009-03-23 21:31:30 +00:00
|
|
|
|
2014-04-15 03:24:36 +01:00
|
|
|
for p in $patches; do
|
|
|
|
echo "applying patch $p"
|
|
|
|
patch -p1 < $p
|
|
|
|
done
|
2009-03-23 21:31:30 +00:00
|
|
|
|
2014-04-15 03:24:36 +01:00
|
|
|
./INSTALL -r $out/plan9
|
2009-03-23 21:31:30 +00:00
|
|
|
|
2014-04-15 03:24:36 +01:00
|
|
|
export PLAN9=$out/plan9
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $PLAN9
|
2009-03-23 21:31:30 +00:00
|
|
|
cp -R * $PLAN9
|