$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 23:39:27 hubertf Exp $

--- Makefile.orig	Sun Apr  1 16:05:44 2001
+++ Makefile
@@ -26,11 +26,11 @@
 #      DHIS(c)  Dynamic Host Information System Release 5.0
 
 CC=gcc
-CFLAGS=-Wall -Wformat -I/usr/local/include # -DDONT_FORK
-LFLAGS=-L/usr/local/lib 
+CFLAGS=-Wall -Wformat -I${LOCALBASE}/include # -DDONT_FORK
+LFLAGS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib 
 CP=cp
 
-INSTALLDIR=/etc/dhis/bin
+INSTALLDIR=${PREFIX}/bin
 MODE=700
 OWNER=root
 MKDIR=mkdir -p
