pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/dclock Fix build on Interix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e0d941e944a
branches:  trunk
changeset: 488121:3e0d941e944a
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 25 04:13:57 2005 +0000

description:
Fix build on Interix.

diffstat:

 time/dclock/distinfo         |   4 ++--
 time/dclock/patches/patch-aa |  12 +++++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r d9bc2786b59d -r 3e0d941e944a time/dclock/distinfo
--- a/time/dclock/distinfo      Tue Jan 25 04:09:49 2005 +0000
+++ b/time/dclock/distinfo      Tue Jan 25 04:13:57 2005 +0000
@@ -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 -r d9bc2786b59d -r 3e0d941e944a time/dclock/patches/patch-aa
--- a/time/dclock/patches/patch-aa      Tue Jan 25 04:09:49 2005 +0000
+++ b/time/dclock/patches/patch-aa      Tue Jan 25 04:13:57 2005 +0000
@@ -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 @@
 +
 +.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



Home | Main Index | Thread Index | Old Index