|
|
| |
cd ${S} | cd ${S} |
epatch ${FILESDIR}/${P}-errno.patch | epatch ${FILESDIR}/${P}-errno.patch |
|
epatch ${FILESDIR}/${P}-gnome.patch |
| |
# This copies the /sys/unix Makefile.*s to their correct places for | # This copies the /sys/unix Makefile.*s to their correct places for |
# seding and compiling. | # seding and compiling. |
|
|
sed -e 's:^\(WINSRC = .*\):\1 $(WINGNOMESRC):' \ | sed -e 's:^\(WINSRC = .*\):\1 $(WINGNOMESRC):' \ |
-e 's:^\(WINOBJ = .*\):\1 $(WINGNOMEOBJ):' \ | -e 's:^\(WINOBJ = .*\):\1 $(WINGNOMEOBJ):' \ |
-e 's:^\(WINLIB = .*\):\1 $(WINGNOMELIB):' \ | -e 's:^\(WINLIB = .*\):\1 $(WINGNOMELIB):' \ |
-e 's:\(.*gnyesno.o\) tile.o\(.*\):\1\2:' \ |
-e 's:\(.*gnworn.o\) tile.o\(.*\):\1\2:' \ |
-e "s:^\(GNOMEINC=.*\):\1 `gnome-config --cflags gnomeui`:" \ | -e "s:^\(GNOMEINC=.*\):\1 `gnome-config --cflags gnomeui`:" \ |
Makefile.orig >Makefile || die "Patching src/Makefile for gnome failed" | Makefile.orig >Makefile || die "Patching src/Makefile for gnome failed" |
rm Makefile.orig | rm Makefile.orig |