summaryrefslogtreecommitdiff
path: root/time/dclock/patches
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/patches
parentb6f790043f947af4af8a0bc9b2f17a6bcd0f49d5 (diff)
downloadpkgsrc-6f9ce4da5cd4f90fd3af3ae0cc49ef7b8d33eda2.tar.gz
Fix build on Interix.
Diffstat (limited to 'time/dclock/patches')
-rw-r--r--time/dclock/patches/patch-aa12
1 files changed, 7 insertions, 5 deletions
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