diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-12-30 18:53:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-12-30 18:53:45 +0000 |
commit | 84c7685a729232debf3f4744c78abf702401b47e (patch) | |
tree | 9ea3ad37d05dce0e9e6f99acad883293c34a3896 /sys-apps/chname | |
parent | alpha/arm/ia64/s390/sh/sparc stable (diff) | |
download | gentoo-2-84c7685a729232debf3f4744c78abf702401b47e.tar.gz gentoo-2-84c7685a729232debf3f4744c78abf702401b47e.tar.bz2 gentoo-2-84c7685a729232debf3f4744c78abf702401b47e.zip |
Respect LDFLAGS (bug #337865), CC. Reword postinst message.
(Portage version: 2.2.0_alpha10/cvs/Linux i686)
Diffstat (limited to 'sys-apps/chname')
-rw-r--r-- | sys-apps/chname/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/chname/chname-1.0-r1.ebuild | 30 |
2 files changed, 36 insertions, 1 deletions
diff --git a/sys-apps/chname/ChangeLog b/sys-apps/chname/ChangeLog index 6e59a6d81271..fbff2ee7df5f 100644 --- a/sys-apps/chname/ChangeLog +++ b/sys-apps/chname/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/chname # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/chname/ChangeLog,v 1.4 2010/09/17 09:22:01 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/chname/ChangeLog,v 1.5 2010/12/30 18:53:45 jer Exp $ + +*chname-1.0-r1 (30 Dec 2010) + + 30 Dec 2010; Jeroen Roovers <jer@gentoo.org> +chname-1.0-r1.ebuild: + Respect LDFLAGS (bug #337865), CC. Reword postinst message. 17 Sep 2010; Robin H. Johnson <robbat2@gentoo.org> chname-1.0.ebuild: Builds fine with no sources installed. diff --git a/sys-apps/chname/chname-1.0-r1.ebuild b/sys-apps/chname/chname-1.0-r1.ebuild new file mode 100644 index 000000000000..57b78c1bb015 --- /dev/null +++ b/sys-apps/chname/chname-1.0-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/sys-apps/chname/chname-1.0-r1.ebuild,v 1.1 2010/12/30 18:53:45 jer Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Run a command with a new system hostname." +HOMEPAGE="http://code.google.com/p/chname" +SRC_URI="http://chname.googlecode.com/files/chname-1.0.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=sys-kernel/linux-headers-2.6.16" +RDEPEND="" + +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CFLAGS} ${LDFLAGS}" chname || die +} + +src_install() { + dobin chname + doman chname.1 +} + +pkg_postinst() { + elog "Note: chname requires a or later kernel with CONFIG_UTS_NS=y." +} |