summaryrefslogtreecommitdiff
path: root/time/dclock
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-25 04:13:57 +0000
committertv <tv@pkgsrc.org>2005-01-25 04:13:57 +0000
commit6f9ce4da5cd4f90fd3af3ae0cc49ef7b8d33eda2 (patch)
treea53b43b94d335fed0131accbad5dcf726d5566ab /time/dclock
parentb6f790043f947af4af8a0bc9b2f17a6bcd0f49d5 (diff)
downloadpkgsrc-6f9ce4da5cd4f90fd3af3ae0cc49ef7b8d33eda2.tar.gz
Fix build on Interix.
Diffstat (limited to 'time/dclock')
-rw-r--r--time/dclock/distinfo4
-rw-r--r--time/dclock/patches/patch-aa12
2 files changed, 9 insertions, 7 deletions
diff --git a/time/dclock/distinfo b/time/dclock/distinfo
index 088a505577c..7c1bf4ed041 100644
--- a/time/dclock/distinfo
+++ b/time/dclock/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/01/07 05:48:11 jmcneill Exp $
+$NetBSD: distinfo,v 1.5 2005/01/25 04:13:57 tv Exp $
SHA1 (dclock.shar.Z) = 1e9dac79e11f7075fd216e90d45218f499c9b035
Size (dclock.shar.Z) = 23855 bytes
-SHA1 (patch-aa) = 2566c9d51455ab1c1a47a0a81394eb01fcef972a
+SHA1 (patch-aa) = bde3e7be8f4a253398958b8c310d11303f0558e5
SHA1 (patch-ab) = 625f095e9c7034ad56fc2ed3aa1e58b84aa49270
SHA1 (patch-ac) = 71ea6994b2466ca69a2e5a0b23bd944f94f182be
diff --git a/time/dclock/patches/patch-aa b/time/dclock/patches/patch-aa
index 389f1bd4709..9696fdd4714 100644
--- a/time/dclock/patches/patch-aa
+++ b/time/dclock/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2001/06/15 22:46:27 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2005/01/25 04:13:57 tv Exp $
---- Makefile.orig Wed Oct 20 11:40:45 1999
-+++ Makefile Wed Oct 20 11:43:33 1999
-@@ -3,12 +3,25 @@
+--- Makefile.orig 2005-01-24 22:41:08.000000000 -0500
++++ Makefile
+@@ -3,12 +3,27 @@ SRCS= Dclock.c dclock.c
OBJS= Dclock.o dclock.o
HFILES= Dclock.h DclockP.h patchlevel.h
@@ -17,13 +17,15 @@ $NetBSD: patch-aa,v 1.2 2001/06/15 22:46:27 wiz Exp $
+
+.if ${OPSYS} == "SunOS"
+LIBS+= -lSM -lICE -lsocket -lnsl
++.elif ${OPSYS} == "Interix"
++LIBS+= -lSM -lICE
+.endif
+
+all: dclock
+
dclock: ${OBJS}
- cc ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
-+ ${CC} ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
++ ${LINK.c} -o dclock ${OBJS} ${LIBS}
+
+install: dclock
+ ${BSD_INSTALL_PROGRAM} dclock $(PREFIX)/bin