summaryrefslogtreecommitdiff
path: root/net/upclient
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-07 17:19:56 +0000
committerhans <hans@pkgsrc.org>2012-03-07 17:19:56 +0000
commit479cfc823e7baeeb7a96263b393d9158f27a475b (patch)
tree3808e250d0621fabf3ab09c836be2967d63ffacd /net/upclient
parentcb609be41c1fbe5c54487c117ea5dfb8e2a74b5e (diff)
downloadpkgsrc-479cfc823e7baeeb7a96263b393d9158f27a475b.tar.gz
Fix build on SunOS.
Diffstat (limited to 'net/upclient')
-rw-r--r--net/upclient/Makefile4
-rw-r--r--net/upclient/distinfo4
-rw-r--r--net/upclient/patches/patch-ae11
3 files changed, 15 insertions, 4 deletions
diff --git a/net/upclient/Makefile b/net/upclient/Makefile
index 6d127d7973b..76bcb0e65d0 100644
--- a/net/upclient/Makefile
+++ b/net/upclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2010/02/11 23:08:17 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2012/03/07 17:19:56 hans Exp $
#
DISTNAME= upclient-4.2.1.23
@@ -16,6 +16,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
.if ${OPSYS} == "DragonFly"
BUILD_TARGET= dragonfly
+.elif ${OPSYS} == "SunOS"
+BUILD_TARGET= solaris
.else
BUILD_TARGET= bsd
.endif
diff --git a/net/upclient/distinfo b/net/upclient/distinfo
index c3c86f0fe13..7067516d01e 100644
--- a/net/upclient/distinfo
+++ b/net/upclient/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2006/09/19 22:25:48 joerg Exp $
+$NetBSD: distinfo,v 1.14 2012/03/07 17:19:56 hans Exp $
SHA1 (upclient-4.2.1.23.tar.gz) = c6595959c6a5058b03ab7096a6bf9c0dbfa4285a
RMD160 (upclient-4.2.1.23.tar.gz) = bc5df520a6ab73049ab45bf2d3ed230a80bf561e
@@ -7,4 +7,4 @@ SHA1 (patch-aa) = 2e1dacd293b69e0d2338e1a316d7d1d7015447c2
SHA1 (patch-ab) = dd1e318cee6e27fcf433b2123cf8f3f6ed8eb548
SHA1 (patch-ac) = 5fa3dad86297d9a6bf5047008813996c0e930e7c
SHA1 (patch-ad) = 57aac6d38f7f4fcdc1b4545d2f6df0815a9db496
-SHA1 (patch-ae) = c21c66c00e8be45407d462ba0cf0223a5b9a703b
+SHA1 (patch-ae) = f8b73cfa9d736f3b06556224373486144548afc8
diff --git a/net/upclient/patches/patch-ae b/net/upclient/patches/patch-ae
index d2153f6d9d5..15d68364a9f 100644
--- a/net/upclient/patches/patch-ae
+++ b/net/upclient/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.2 2006/01/25 17:00:25 joerg Exp $
+$NetBSD: patch-ae,v 1.3 2012/03/07 17:19:56 hans Exp $
--- src/Makefile.orig 2001-06-16 22:48:35.000000000 +0000
+++ src/Makefile
@@ -23,3 +23,12 @@ $NetBSD: patch-ae,v 1.2 2006/01/25 17:00:25 joerg Exp $
upclient
darwin:
+@@ -82,7 +89,7 @@ solaris:
+ $(MAKE) CC=gcc \
+ LDFLAGS='-lsocket -lnsl' \
+ OBJECTS='stats-sol.c $(STDOPTS)' \
+- CFLAGS='-DPLATFORM_SOLARIS -DCONFIGFILE=\"$(CONFIGFILE)\"' \
++ CFLAGS='$(CFLAGS) -DPLATFORM_SOLARIS -DCONFIGFILE=\"$(CONFIGFILE)\"' \
+ upclient
+
+ linux: