diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-22 09:57:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-22 09:57:58 +0000 |
commit | 367b41683b72d9bb4eb6385af3b6373d05165f2a (patch) | |
tree | cd280b243745738048be1aef4349f77bfc348c53 /misc | |
parent | c5c9fba282773c1cb08ce49d1fbe5a5e63188377 (diff) | |
download | pkgsrc-367b41683b72d9bb4eb6385af3b6373d05165f2a.tar.gz |
Fix build on Solaris. From Jonathan Perkin in PR 22885.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ttyrec/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 |