summaryrefslogtreecommitdiff
path: root/net/dhisd/patches/patch-aa
blob: 8a2f39c2cb7f4efb7d749441f9e3c699285c0dfc (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.3 2004/12/21 20:53:18 hubertf Exp $

--- Makefile.orig	2001-09-12 18:30:18.000000000 +0900
+++ Makefile	2004-12-17 14:43:42.000000000 +0900
@@ -26,11 +26,11 @@
 #      DHIS(c)  Dynamic Host Information System Release 5.1
 
 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