freebsd-ports/net/dhisd/files/patch-Makefile
Michael Haro cb96989f7e Port update to version 4.0.3
PR:             26257
Submitted by:        <baskruit@bsltwr.dnsalias.org>
2001-04-02 06:20:08 +00:00

25 lines
653 B
Plaintext

--- Makefile.orig Wed Mar 7 11:53:58 2001
+++ Makefile Mon Mar 19 17:43:57 2001
@@ -26,16 +26,16 @@
# DHIS(c) Dynamic Host Information System Release 4.0
CC=gcc
-CFLAGS=-I/usr/local/include -I/usr/bind/include \
- -I/usr/local/bind/include # -DBIND821
-LFLAGS=-L/usr/local/lib -L/usr/bind/lib -L/usr/local/bind/lib
-LIBS=-lnsl -lsocket -lbind -lgmp
+CFLAGS=-I/usr/local/include -DHAVE_SYS_PARAM_H
+LFLAGS=-L/usr/local/lib
+LIBS=-lgmp
OBJS=log.o network.o misc.o db.o online.o nsupdate.o main.o
RM=rm -f
+all: dhisd
+
dhisd: $(OBJS)
$(CC) $(LFLAGS) -o dhisd $(OBJS) $(LIBS)
- strip dhisd
clean:
$(RM) *.core core dhisd *.o