diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-06 13:47:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-06 13:47:38 +0000 |
commit | e4b3568a6d68a3259433666b41a9df5aeb6c2520 (patch) | |
tree | 6660a303999e5572f0098c80631c6c03f6a088d7 /graphics/MesaLib/patches/patch-cb | |
parent | 21eba234c573e0ef9241faf73fd929ea9a835230 (diff) | |
download | pkgsrc-e4b3568a6d68a3259433666b41a9df5aeb6c2520.tar.gz |
Allow MesaLib to be cross-compiled. This is horrible slow, but working
magic.
Diffstat (limited to 'graphics/MesaLib/patches/patch-cb')
-rw-r--r-- | graphics/MesaLib/patches/patch-cb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/MesaLib/patches/patch-cb b/graphics/MesaLib/patches/patch-cb new file mode 100644 index 00000000000..27d6d0c8a0e --- /dev/null +++ b/graphics/MesaLib/patches/patch-cb @@ -0,0 +1,15 @@ +$NetBSD: patch-cb,v 1.1 2007/08/06 13:47:39 joerg Exp $ + +--- src/mesa/x86-64/Makefile.orig 2007-08-06 05:47:48.000000000 +0200 ++++ src/mesa/x86-64/Makefile +@@ -23,7 +23,8 @@ clean: + + + # need some special rules here, unfortunately +-matypes.h: ../main/mtypes.h ../tnl/t_context.h ../x86/gen_matypes +- ../x86/gen_matypes | grep -v '#include "assyntax.h' > matypes.h ++matypes.h: ../main/mtypes.h ../tnl/t_context.h ../x86/matypes.h ++ cd ../x86 && ${MAKE} matypes.h ++ grep -v '#include "assyntax.h' < ../x86/matypes.h > matypes.h + + xform4.o: matypes.h |