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