summaryrefslogtreecommitdiff
path: root/net/dhid
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-23 14:50:03 +0000
committerjperkin <jperkin>2014-09-23 14:50:03 +0000
commitdba1b0901eaf1ed4534ed97088867d0988f9d23e (patch)
treed804952ceb3db7c89124c204b15a3a6615c75fe8 /net/dhid
parent2015a39fcf82b7d89104cef560c8a7afa1db9136 (diff)
downloadpkgsrc-dba1b0901eaf1ed4534ed97088867d0988f9d23e.tar.gz
SunOS needs -lsocket -lnsl.
Diffstat (limited to 'net/dhid')
-rw-r--r--net/dhid/Makefile4
-rw-r--r--net/dhid/distinfo4
-rw-r--r--net/dhid/patches/patch-aa10
3 files changed, 11 insertions, 7 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
index e490811537e..444f3d2bfef 100644
--- a/net/dhid/Makefile
+++ b/net/dhid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/10/23 17:18:17 asau Exp $
+# $NetBSD: Makefile,v 1.23 2014/09/23 14:59:24 jperkin Exp $
#
DISTNAME= dhid-5.2
@@ -12,6 +12,8 @@ COMMENT= Dynamic Host Information System client daemon
RCD_SCRIPTS= dhid
+LDFLAGS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS= sbin share/doc/dhid
do-install:
diff --git a/net/dhid/distinfo b/net/dhid/distinfo
index 3932602f0a2..75af9462892 100644
--- a/net/dhid/distinfo
+++ b/net/dhid/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 12:13:45 agc Exp $
+$NetBSD: distinfo,v 1.6 2014/09/23 14:59:24 jperkin Exp $
SHA1 (dhid-5.2.tar.gz) = 92252834c1d84d19470b438fec53894abfd245e5
RMD160 (dhid-5.2.tar.gz) = 04cfb6a779ca761957f9a945ea876f31fa011326
Size (dhid-5.2.tar.gz) = 16485 bytes
-SHA1 (patch-aa) = eb5d1a06790fd99c26fab30e006350c13659d0b7
+SHA1 (patch-aa) = 6e6268ecbbcd432e612c3c84f3872eda100d7f38
SHA1 (patch-ab) = 096401626fdc628f126749933fe27d9e67c25595
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