pkgsrc/cad/fasthenry/patches/patch-ap
dmcmahill ab8490f3bf - homepage has moved
- distfile has moved
- license has changed.  Patches are the result of de-fuzzing the
  old patches since the new source files have the new (less restrictive)
  license.
2004-09-20 02:08:58 +00:00

21 lines
818 B
Text

$NetBSD: patch-ap,v 1.2 2004/09/20 02:08:58 dmcmahill Exp $
--- src/zbuf/Makefile.default.orig Tue Nov 12 19:18:57 1996
+++ src/zbuf/Makefile.default
@@ -36,14 +36,14 @@ $(IO)/input.c \
$(IO)/zbufInOut.c $(IO)/zbuf2fastcap.c $(IO)/zbufProj.c $(IO)/zbufSort.c \
$(IO)/dump_struct.c $(IO)/savemat_mod.c
-LIBS = -lm
+LIBS?= -lm
# These compile flags are needed to account for differences in the
# resource usage system call used to get CPU time and memory use data
# - also used to select the correct CC macro definition for AIX machines
#
# for generic machine use (timers not supported)
-CFLAGS = -O -DOTHER
+CFLAGS += -DOTHER
# for most machines running 4.2/3 use (only necessary if timers are needed)
#CFLAGS = -O -DFOUR
# for most machines running System V use (only necessary if timers are needed)