summaryrefslogtreecommitdiff
path: root/net/dhisd
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-23 17:57:04 +0000
committerjperkin <jperkin>2014-09-23 17:57:04 +0000
commit9351747f6a208d09546c78fddfe64d0f27e7941f (patch)
tree58bd59f80e81e5c1e2c588469c4ec54584c44062 /net/dhisd
parentf95f8e91ecbe2336f74ee58735caaed48750968c (diff)
downloadpkgsrc-9351747f6a208d09546c78fddfe64d0f27e7941f.tar.gz
SunOS needs -lsocket -lnsl.
Diffstat (limited to 'net/dhisd')
-rw-r--r--net/dhisd/Makefile4
-rw-r--r--net/dhisd/distinfo4
-rw-r--r--net/dhisd/patches/patch-aa4
3 files changed, 7 insertions, 5 deletions
diff --git a/net/dhisd/Makefile b/net/dhisd/Makefile
index 59abb242475..3877912bb34 100644
--- a/net/dhisd/Makefile
+++ b/net/dhisd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/03/24 19:43:28 asau Exp $
+# $NetBSD: Makefile,v 1.16 2014/09/23 17:57:04 jperkin Exp $
#
DISTNAME= dhisd-5.1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dhis.org/
COMMENT= DynDNS server
+LDFLAGS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS= bin share/examples/dhisd share/doc/dhisd
PKG_DESTDIR_SUPPORT= destdir
diff --git a/net/dhisd/distinfo b/net/dhisd/distinfo
index 347d8ca48e7..36b593a79ca 100644
--- a/net/dhisd/distinfo
+++ b/net/dhisd/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:45 agc Exp $
+$NetBSD: distinfo,v 1.5 2014/09/23 17:57:04 jperkin Exp $
SHA1 (dhisd-5.1.tar.gz) = e4e46bac4a07dcbe3d3e687fb4532fcd309de8ec
RMD160 (dhisd-5.1.tar.gz) = 33b1ef166b468725d48abb9675564d2de1ff7b90
Size (dhisd-5.1.tar.gz) = 27910 bytes
-SHA1 (patch-aa) = 1ec1ecb791e156caf899ccdd6ade3ac9f659f648
+SHA1 (patch-aa) = f72a3dd4fd4eba2fc4cf67dc6db37a28771214fa
SHA1 (patch-ab) = 998607a6f718a276fb9584f94c0d3232295b0fbc
diff --git a/net/dhisd/patches/patch-aa b/net/dhisd/patches/patch-aa
index 8a2f39c2cb7..c10334beff4 100644
--- a/net/dhisd/patches/patch-aa
+++ b/net/dhisd/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2004/12/21 20:53:18 hubertf Exp $
+$NetBSD: patch-aa,v 1.4 2014/09/23 17:57:04 jperkin Exp $
--- Makefile.orig 2001-09-12 18:30:18.000000000 +0900
+++ Makefile 2004-12-17 14:43:42.000000000 +0900
@@ -9,7 +9,7 @@ $NetBSD: patch-aa,v 1.3 2004/12/21 20:53:18 hubertf Exp $
-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
++LFLAGS=${LDFLAGS}
CP=cp
-INSTALLDIR=/etc/dhis/bin