diff options
Diffstat (limited to 'net/dhid/patches/patch-aa')
-rw-r--r-- | net/dhid/patches/patch-aa | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/dhid/patches/patch-aa b/net/dhid/patches/patch-aa index 15051561112..e393cbb7b81 100644 --- a/net/dhid/patches/patch-aa +++ b/net/dhid/patches/patch-aa @@ -1,15 +1,17 @@ -$NetBSD: patch-aa,v 1.3 2003/07/03 00:08:54 hubertf Exp $ +$NetBSD: patch-aa,v 1.4 2014/09/23 14:59:24 jperkin Exp $ ---- Makefile.orig Wed Sep 12 12:12:02 2001 +--- Makefile.orig 2001-09-12 10:12:02.000000000 +0000 +++ Makefile -@@ -29,8 +29,8 @@ +@@ -29,9 +29,9 @@ CC=cc # Add -lnsl and -lsocket to LIBS in SysV systems # -CFLAGS=-I/usr/local/include -DQRC=1 -Wall -LFLAGS=-L/usr/local/lib +-LIBS=-lgmp +CFLAGS=-I${LOCALBASE}/include -DQRC=1 -DLOCALBASE=\"${LOCALBASE}\" +LFLAGS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib - LIBS=-lgmp ++LIBS=-lgmp ${LDFLAGS} # Use these and comment the above if you wish to compile dhid without + # secure public key authentication or don't have the GMP library |