diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-09-18 16:55:29 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-09-18 16:55:29 +0000 |
commit | 436c891941be99a06d5542a637d686322d7ad4cd (patch) | |
tree | 9a105ca2e99dc87629522a8dc6d495e4ce8bbd4a /sys-apps/dog | |
parent | sparc stable wrt #328105 (diff) | |
download | gentoo-2-436c891941be99a06d5542a637d686322d7ad4cd.tar.gz gentoo-2-436c891941be99a06d5542a637d686322d7ad4cd.tar.bz2 gentoo-2-436c891941be99a06d5542a637d686322d7ad4cd.zip |
Respecting LDFLAGS, 335390
(Portage version: 2.2_rc83/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/dog')
-rw-r--r-- | sys-apps/dog/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/dog/dog-1.7-r4.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/dog/ChangeLog b/sys-apps/dog/ChangeLog index 547d657c84e0..f1c64d6f844d 100644 --- a/sys-apps/dog/ChangeLog +++ b/sys-apps/dog/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/dog # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/ChangeLog,v 1.34 2010/09/18 16:55:29 jlec Exp $ + +*dog-1.7-r4 (18 Sep 2010) + + 18 Sep 2010; Justin Lecher <jlec@gentoo.org> +dog-1.7-r4.ebuild: + Respecting LDFLAGS, 335390 21 May 2010; Jeremy Olexa <darkside@gentoo.org> dog-1.7-r3.ebuild: Import Gentoo Prefix changes, add keywords. No EAPI bump needed. diff --git a/sys-apps/dog/dog-1.7-r4.ebuild b/sys-apps/dog/dog-1.7-r4.ebuild new file mode 100644 index 000000000000..d22be36933cb --- /dev/null +++ b/sys-apps/dog/dog-1.7-r4.ebuild @@ -0,0 +1,42 @@ +# 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-r4.ebuild,v 1.1 2010/09/18 16:55:29 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Dog is better than cat" +# the best HOMEPAGE we have. +HOMEPAGE="http://packages.gentoo.org/package/sys-apps/dog" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris" +IUSE="" + +src_prepare() { + epatch ${FILESDIR}/${P}-check-ctime.diff + 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)," \ + -e 's:-o dog:$(LDFLAGS) -o dog:g' \ + Makefile || die "sed Makefile failed" +} + +src_install() { + dobin dog || die + doman dog.1 || die + dodoc README AUTHORS || die +} |