summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-02-16 15:54:09 +0000
committerwiedi <wiedi@pkgsrc.org>2014-02-16 15:54:09 +0000
commita9613a6cdfe8e27c1013144be693672bb673e709 (patch)
treee12fdd2a1990f791f900a00ff485c0f6a3406611 /time
parent0aa703e76290505c3261338190b1c5de9c93bdd6 (diff)
downloadpkgsrc-a9613a6cdfe8e27c1013144be693672bb673e709.tar.gz
Link network libs on SunOS
Diffstat (limited to 'time')
-rw-r--r--time/xtide/Makefile4
-rw-r--r--time/xtide/distinfo4
-rw-r--r--time/xtide/patches/patch-ac8
3 files changed, 9 insertions, 7 deletions
diff --git a/time/xtide/Makefile b/time/xtide/Makefile
index 614c6e9c2c9..d182a30b790 100644
--- a/time/xtide/Makefile
+++ b/time/xtide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2013/02/16 11:24:44 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2014/02/16 15:54:09 wiedi Exp $
DISTNAME= xtide-2.8.3
PKGREVISION= 5
@@ -21,6 +21,8 @@ CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q} X11BASE=${X11BASE:Q}
EGDIR= ${PREFIX}/share/examples/xtide
CONF_FILES= ${EGDIR}/xtide.conf ${PKG_SYSCONFDIR}/xtide.conf
+LDFLAGS.SunOS+= -lsocket -lnsl
+
SUBST_CLASSES+= xt
SUBST_STAGE.xt= pre-configure
SUBST_FILES.xt= DOCUMENTATION/*
diff --git a/time/xtide/distinfo b/time/xtide/distinfo
index 4c73ed587e4..edb14246ee2 100644
--- a/time/xtide/distinfo
+++ b/time/xtide/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2011/01/31 20:23:10 wiz Exp $
+$NetBSD: distinfo,v 1.3 2014/02/16 15:54:09 wiedi Exp $
SHA1 (harmonics-dwf-20060708.tcd.bz2) = 1f54ed856b064e485f7e386eb4a71965e83abfa4
RMD160 (harmonics-dwf-20060708.tcd.bz2) = 754255ac5f2e36cf2dce587e7f9f7bd0561226d9
@@ -8,6 +8,6 @@ RMD160 (xtide-2.8.3.tar.bz2) = 926d116d6d36b3e4ff5e4630e0df394a4f9a0a8b
Size (xtide-2.8.3.tar.bz2) = 463382 bytes
SHA1 (patch-aa) = 8b9059e2870f6b8149e72ca33c452e75650f8230
SHA1 (patch-ab) = 889c68bce0bd78cfc1b5f7410364e8c39182cfec
-SHA1 (patch-ac) = 07a0099f0d58b8774ae456470142314dabe38c1b
+SHA1 (patch-ac) = 5ba4062c3b0d2c05e3d758281bf6099a476d127a
SHA1 (patch-ad) = cf18fb73096b3cef07fbf501fa1205fe126d1155
SHA1 (patch-ae) = d93d25768341ac52a7379e4d4043c8f799072329
diff --git a/time/xtide/patches/patch-ac b/time/xtide/patches/patch-ac
index 0237dc64470..3478ccb4058 100644
--- a/time/xtide/patches/patch-ac
+++ b/time/xtide/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2014/02/16 15:54:09 wiedi Exp $
---- Makefile.in.orig 2004-12-20 15:15:05.000000000 +0100
-+++ Makefile.in 2006-11-05 22:03:06.000000000 +0100
+--- Makefile.in.orig 2006-03-14 00:54:31.000000000 +0000
++++ Makefile.in
@@ -11,8 +11,8 @@ mandir=@mandir@
# DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
CXX = @CXX@
@@ -9,7 +9,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $
-CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -c
-LDFLAGS = @extraldflags@ -L@libdir@ -L@xlibdir@ @normalldflags@ -o
+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -DPREFIX='"${prefix}"' -DPKG_SYSCONFDIR='"@sysconfdir@"' -c
-+LDFLAGS = @extraldflags@ -L@libdir@ -Wl,-R@libdir@ -L@xlibdir@ -Wl,-R@xlibdir@ @normalldflags@ -o
++LDFLAGS += @extraldflags@ -L@libdir@ -Wl,-R@libdir@ -L@xlibdir@ -Wl,-R@xlibdir@ @normalldflags@ -o
# Extra switches and libs determined by configure.in
extraswitches=@extraswitches@