pkgsrc/cad/fasthenry/patches/patch-aa
dmcmahill a11d7a44b8 -include a ton of missing header files for 64 bit machines. there remain
some 64 bit related compiler warnings to fix.

- while here, use libffm if on an alpha for faster math.  In this case
  20-30% faster.
2001-02-09 11:29:36 +00:00

19 lines
555 B
Text

$NetBSD: patch-aa,v 1.3 2001/02/09 11:29:37 dmcmahill Exp $
--- src/fasthenry/Makefile.default.orig Tue Nov 12 14:18:58 1996
+++ src/fasthenry/Makefile.default Thu Feb 8 20:08:41 2001
@@ -1,3 +1,3 @@
-CFLAGS = -O -DFOUR
+CFLAGS = -O2 -DFOUR
SHELL = /bin/sh
@@ -23,6 +23,8 @@
NONUNIHEAD = gp.h
+LIBS?= -lm
+
fasthenry: $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SPLIB)
- $(CC) -o fasthenry $(CFLAGS) $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SPLIB) -lm
+ $(CC) -o fasthenry $(CFLAGS) $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SPLIB) $(LIBS)
mv fasthenry $(BIN)/fasthenry