pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ttyrec Fix build on Solaris. From Jonathan Perkin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cdd4385355b7
branches:  trunk
changeset: 461826:cdd4385355b7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Sep 22 09:57:58 2003 +0000

description:
Fix build on Solaris. From Jonathan Perkin in PR 22885.

diffstat:

 misc/ttyrec/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 091ef0138d59 -r cdd4385355b7 misc/ttyrec/Makefile
--- a/misc/ttyrec/Makefile      Mon Sep 22 09:56:24 2003 +0000
+++ b/misc/ttyrec/Makefile      Mon Sep 22 09:57:58 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:49:59 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/22 09:57:58 wiz Exp $
 
 DISTNAME=      ttyrec-1.0.4
 CATEGORIES=    misc
@@ -8,6 +8,12 @@
 HOMEPAGE=      http://namazu.org/~satoru/ttyrec/
 COMMENT=       ttyrec is a tty recorder
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CFLAGS+=       -DSVR4
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/ttyplay ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC}/ttyrec ${PREFIX}/bin



Home | Main Index | Thread Index | Old Index