summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-09-01 13:15:38 +0000
committerFabian Groffen <grobian@gentoo.org>2013-09-01 13:15:38 +0000
commitdf6da07bb9af408fe9ac54afd0b5cbe8da93aaf1 (patch)
tree648d20df22c127ed2b03494d2af7d745a6b94ea6 /app-misc
parentAdd ~ppc, wrt bug #483246 (diff)
downloadgentoo-2-df6da07bb9af408fe9ac54afd0b5cbe8da93aaf1.tar.gz
gentoo-2-df6da07bb9af408fe9ac54afd0b5cbe8da93aaf1.tar.bz2
gentoo-2-df6da07bb9af408fe9ac54afd0b5cbe8da93aaf1.zip
Unbreak build on Darwin, it isn't SVR4 compatible
(Portage version: 2.2.01.22288-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ttyrec/ChangeLog5
-rw-r--r--app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-misc/ttyrec/ChangeLog b/app-misc/ttyrec/ChangeLog
index f60ce4fa64ef..9faaa4a52baf 100644
--- a/app-misc/ttyrec/ChangeLog
+++ b/app-misc/ttyrec/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/ttyrec
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ttyrec/ChangeLog,v 1.25 2013/02/25 19:50:32 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ttyrec/ChangeLog,v 1.26 2013/09/01 13:15:38 grobian Exp $
+
+ 01 Sep 2013; Fabian Groffen <grobian@gentoo.org> ttyrec-1.0.8-r1.ebuild:
+ Unbreak build on Darwin, it isn't SVR4 compatible
25 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> -ttyrec-1.0.6.ebuild,
-ttyrec-1.0.8.ebuild:
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
index 1e6404cf797d..47708cf7cf9d 100644
--- a/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild,v 1.1 2013/02/25 19:49:50 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild,v 1.2 2013/09/01 13:15:38 grobian Exp $
EAPI=5
@@ -19,7 +19,7 @@ PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
src_compile() {
# Bug 106530
- append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}