summaryrefslogtreecommitdiff
path: root/graphics/rayshade/files/patch-libray_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rayshade/files/patch-libray_Makefile')
-rw-r--r--graphics/rayshade/files/patch-libray_Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/rayshade/files/patch-libray_Makefile b/graphics/rayshade/files/patch-libray_Makefile
new file mode 100644
index 000000000000..862e271a383a
--- /dev/null
+++ b/graphics/rayshade/files/patch-libray_Makefile
@@ -0,0 +1,15 @@
+On really fast machines some of the .o files aren't being added to
+libray.a because they are generated so fast that make(1) thinks the
+library is up-to-date. Marvel at the horrific hack below.
+
+--- libray/Makefile.orig Sat Feb 26 16:41:28 2000
++++ libray/Makefile Sat Feb 26 16:42:36 2000
+@@ -12,6 +12,8 @@
+ for i in $(STUFF); do \
+ (cd $$i && $(MAKE)); \
+ done
++ rm -f libray.a
++ ar cur libray.a `find . -name '*.o'`
+
+ #
+ # Have to keep clean/depend separete so