1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/graphics/rayshade/files/patch-ad
Steve Price e6f2c8ad26 - Fix build on -current.
- Remove an unused files (config.h)
- Implement an ugly hack (patch-ad) that covers up a (mis)feature in our
  make(1) on fast machines.
2000-02-27 14:57:34 +00:00

16 lines
469 B
Plaintext

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