summaryrefslogtreecommitdiff
path: root/net/dhisd/patches/patch-aa
blob: 38166ab14e900decebd9bb814ad2b4891fdd58bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.2 2004/01/11 14:49:19 cjep Exp $

--- Makefile.orig	2001-04-01 15:05:44.000000000 +0100
+++ 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