diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-20 20:23:28 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-20 20:23:28 +0000 |
commit | abd8bf3d5f7c35efcf8d44474b22b1dbfd132d25 (patch) | |
tree | cbdc8820fd745e122b05d032ad3244c45f477f67 /dev-libs/dclog | |
parent | Version bump. Respect LDFLAGS (bug #336538), CC, CFLAGS. Set RDEPEND. (diff) | |
download | gentoo-2-abd8bf3d5f7c35efcf8d44474b22b1dbfd132d25.tar.gz gentoo-2-abd8bf3d5f7c35efcf8d44474b22b1dbfd132d25.tar.bz2 gentoo-2-abd8bf3d5f7c35efcf8d44474b22b1dbfd132d25.zip |
Respect LDFLAGS (bug #336432).
(Portage version: 2.2_rc84/cvs/Linux i686)
Diffstat (limited to 'dev-libs/dclog')
-rw-r--r-- | dev-libs/dclog/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/dclog/dclog-1.1.1-r1.ebuild | 30 |
2 files changed, 37 insertions, 2 deletions
diff --git a/dev-libs/dclog/ChangeLog b/dev-libs/dclog/ChangeLog index bd9cb85385f6..f340e288cb99 100644 --- a/dev-libs/dclog/ChangeLog +++ b/dev-libs/dclog/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/dclog -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dclog/ChangeLog,v 1.7 2009/07/23 23:47:01 vostorga Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dclog/ChangeLog,v 1.8 2010/09/20 20:23:28 jer Exp $ + +*dclog-1.1.1-r1 (20 Sep 2010) + + 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> +dclog-1.1.1-r1.ebuild: + Respect LDFLAGS (bug #336432). 23 Jul 2009; Víctor Ostorga <vostorga@gentoo.org> dclog-1.1.1.ebuild: Respecting CC variable, closes bug #243906 diff --git a/dev-libs/dclog/dclog-1.1.1-r1.ebuild b/dev-libs/dclog/dclog-1.1.1-r1.ebuild new file mode 100644 index 000000000000..ce5867dbafac --- /dev/null +++ b/dev-libs/dclog/dclog-1.1.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dclog/dclog-1.1.1-r1.ebuild,v 1.1 2010/09/20 20:23:28 jer Exp $ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="A logging library for C/C++ programs" +HOMEPAGE="http://sourceforge.net/projects/dclog/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_prepare() { + sed -i Makefile -e '/ -o /s|${CFLAGS}|& ${LDFLAGS}|g' || die "sed Makefile" +} + +src_compile() { + emake CC=$(tc-getCC) all || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install || die "install failed" + dodoc VERSION + dohtml docs/html/* +} |