From 367b41683b72d9bb4eb6385af3b6373d05165f2a Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 22 Sep 2003 09:57:58 +0000 Subject: Fix build on Solaris. From Jonathan Perkin in PR 22885. --- misc/ttyrec/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/ttyrec/Makefile b/misc/ttyrec/Makefile index 760d95a4573..d3df3b014b0 100644 --- a/misc/ttyrec/Makefile +++ b/misc/ttyrec/Makefile @@ -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 @@ MAINTAINER= tech-pkg@NetBSD.org 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 -- cgit v1.2.3