summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-23 01:36:42 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-23 01:36:42 +0000
commit35c8d8289de3d1a4dbd444e1631f132fe23e7797 (patch)
tree65b41412776dbe228bb9913140553c16d67fb8b5 /net-dns
parentcleanup plus stage1 stuff (Manifest recommit) (diff)
downloadgentoo-2-35c8d8289de3d1a4dbd444e1631f132fe23e7797.tar.gz
gentoo-2-35c8d8289de3d1a4dbd444e1631f132fe23e7797.tar.bz2
gentoo-2-35c8d8289de3d1a4dbd444e1631f132fe23e7797.zip
Make sure we use a proper $CC.
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnsmasq/ChangeLog5
-rw-r--r--net-dns/dnsmasq/dnsmasq-2.18.ebuild18
2 files changed, 13 insertions, 10 deletions
diff --git a/net-dns/dnsmasq/ChangeLog b/net-dns/dnsmasq/ChangeLog
index ad7b050740d3..b51029a8e5a8 100644
--- a/net-dns/dnsmasq/ChangeLog
+++ b/net-dns/dnsmasq/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/dnsmasq
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.59 2004/11/22 16:34:37 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.60 2004/11/23 01:36:42 vapier Exp $
+
+ 22 Nov 2004; Mike Frysinger <vapier@gentoo.org> dnsmasq-2.18.ebuild:
+ Make sure we use a proper $CC.
*dnsmasq-2.18 (22 Nov 2004)
diff --git a/net-dns/dnsmasq/dnsmasq-2.18.ebuild b/net-dns/dnsmasq/dnsmasq-2.18.ebuild
index a74abdb591c5..a9d73bdf1847 100644
--- a/net-dns/dnsmasq/dnsmasq-2.18.ebuild
+++ b/net-dns/dnsmasq/dnsmasq-2.18.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.18.ebuild,v 1.1 2004/11/22 16:34:37 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.18.ebuild,v 1.2 2004/11/23 01:36:42 vapier Exp $
-#inherit eutils
+inherit toolchain-funcs
MY_P="${P/_/}"
MY_PV="${PV/_rc*/}"
@@ -12,16 +12,18 @@ SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~arm ~amd64 ~ia64 ~s390"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND="virtual/libc"
-DEPEND=">=sys-apps/sed-4 ${RDEPEND}"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ >=sys-apps/portage-2.0.51"
S="${WORKDIR}/${PN}-${MY_PV}"
src_compile() {
- emake || die
+ emake CC="$(tc-getCC)" || die
}
src_install() {
@@ -33,10 +35,8 @@ src_install() {
dodoc CHANGELOG FAQ
dohtml *.html
- exeinto /etc/init.d
- newexe ${FILESDIR}/dnsmasq-init dnsmasq
- insinto /etc/conf.d
- newins ${FILESDIR}/dnsmasq.confd dnsmasq
+ newinitd ${FILESDIR}/dnsmasq-init dnsmasq
+ newconfd ${FILESDIR}/dnsmasq.confd dnsmasq
insinto /etc
newins dnsmasq.conf.example dnsmasq.conf
}