summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/dog/ChangeLog7
-rw-r--r--sys-apps/dog/dog-1.7-r3.ebuild13
2 files changed, 15 insertions, 5 deletions
diff --git a/sys-apps/dog/ChangeLog b/sys-apps/dog/ChangeLog
index 6c5427fc9bd2..547d657c84e0 100644
--- a/sys-apps/dog/ChangeLog
+++ b/sys-apps/dog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/dog
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/ChangeLog,v 1.32 2009/08/01 19:10:16 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/ChangeLog,v 1.33 2010/05/21 15:00:22 darkside Exp $
+
+ 21 May 2010; Jeremy Olexa <darkside@gentoo.org> dog-1.7-r3.ebuild:
+ Import Gentoo Prefix changes, add keywords. No EAPI bump needed.
01 Aug 2009; Jeremy Olexa <darkside@gentoo.org> -dog-1.7-r2.ebuild:
remove old
diff --git a/sys-apps/dog/dog-1.7-r3.ebuild b/sys-apps/dog/dog-1.7-r3.ebuild
index f45a8643eae3..01774ae9325b 100644
--- a/sys-apps/dog/dog-1.7-r3.ebuild
+++ b/sys-apps/dog/dog-1.7-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7-r3.ebuild,v 1.8 2009/06/04 19:44:13 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7-r3.ebuild,v 1.9 2010/05/21 15:00:22 darkside Exp $
inherit eutils toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris"
IUSE=""
src_unpack() {
@@ -21,6 +21,13 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-manpage-touchup.patch
epatch ${FILESDIR}/${P}-64bit-goodness.patch
epatch ${FILESDIR}/${P}-strfry.patch
+
+ if [[ "${CHOST}" == *-solaris* ]]
+ then
+ sed -i '/gcc.*-o dog/s/$/ -lsocket/' \
+ Makefile || die "sed Makefile failed"
+ fi
+
sed -i \
-e 's,^CFLAGS,#CFLAGS,' \
-e "s,gcc,$(tc-getCC)," \