pkgsrc/net/dhid/patches/patch-aa
hubertf fbc088554d Update dhid to 5.0. Changes:
1) OnCmd and OffCmd options now are executed with the hostid parameter,
the local IPv4 dynamic IP address and additional parameters specified
in dhid.conf
2003-07-03 00:08:53 +00:00

15 lines
463 B
Text

$NetBSD: patch-aa,v 1.3 2003/07/03 00:08:54 hubertf Exp $
--- Makefile.orig Wed Sep 12 12:12:02 2001
+++ Makefile
@@ -29,8 +29,8 @@
# Add -lnsl and -lsocket to LIBS in SysV systems
#
-CFLAGS=-I/usr/local/include -DQRC=1 -Wall
-LFLAGS=-L/usr/local/lib
+CFLAGS=-I${LOCALBASE}/include -DQRC=1 -DLOCALBASE=\"${LOCALBASE}\"
+LFLAGS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
LIBS=-lgmp
# Use these and comment the above if you wish to compile dhid without