# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.10.3.ebuild,v 1.8 2004/10/16 17:05:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.10.3.ebuild,v 1.9 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.5.2 # rc-scripts version
SVREV= # rc-scripts rev
src_compile() {
use static && append-ldflags -static
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die
}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.10.4.ebuild,v 1.8 2004/10/16 17:05:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.10.4.ebuild,v 1.9 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.5.3 # rc-scripts version
SVREV= # rc-scripts rev
src_compile() {
use static && append-ldflags -static
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die
}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.11.4.ebuild,v 1.1 2004/10/26 02:23:17 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.11.4.ebuild,v 1.2 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.6.4 # rc-scripts version
SVREV= # rc-scripts rev
src_compile() {
use static && append-ldflags -static
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die
}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r3.ebuild,v 1.6 2004/10/16 17:05:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r3.ebuild,v 1.7 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.4.16 # rc-scripts version
SVREV= # rc-scripts rev
echo "${ROOT}" > ${T}/ROOT
einfo "Building utilities..."
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die "problem compiling utilities"
if ! use build; then
# the shared obj by default anyway! The other option is to
# refrain from building sulogin, but that isn't a good option.
# (09 Jul 2004 agriffis)
- emake -C ${S2}/src CC="${CC:-gcc}" LD="${CC:-gcc}" \
+ emake -C ${S2}/src CC="$(tc-getCC)" LD="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} -D_GNU_SOURCE" \
LCRYPT="-lcrypt" || die "problem compiling sysvinit"
else
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r4.ebuild,v 1.5 2004/10/16 17:05:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r4.ebuild,v 1.6 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.4.16 # rc-scripts version
SVREV= # rc-scripts rev
echo "${ROOT}" > ${T}/ROOT
einfo "Building utilities..."
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die "problem compiling utilities"
if ! use build; then
# the shared obj by default anyway! The other option is to
# refrain from building sulogin, but that isn't a good option.
# (09 Jul 2004 agriffis)
- emake -C ${S2}/src CC="${CC:-gcc}" LD="${CC:-gcc}" \
+ emake -C ${S2}/src CC="$(tc-getCC)" LD="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} -D_GNU_SOURCE" \
LCRYPT="-lcrypt" || die "problem compiling sysvinit"
else
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r5.ebuild,v 1.2 2004/10/19 20:16:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r5.ebuild,v 1.3 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.4.16 # rc-scripts version
SVREV= # rc-scripts rev
echo "${ROOT}" > ${T}/ROOT
einfo "Building utilities..."
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die "problem compiling utilities"
if ! use build; then
# the shared obj by default anyway! The other option is to
# refrain from building sulogin, but that isn't a good option.
# (09 Jul 2004 agriffis)
- emake -C ${S2}/src CC="${CC:-gcc}" LD="${CC:-gcc}" \
+ emake -C ${S2}/src CC="$(tc-getCC)" LD="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} -D_GNU_SOURCE" \
LCRYPT="-lcrypt" || die "problem compiling sysvinit"
else
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r6.ebuild,v 1.1 2004/10/22 04:08:59 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.9.4-r6.ebuild,v 1.2 2004/10/28 15:44:24 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
SV=1.4.16 # rc-scripts version
SVREV= # rc-scripts rev
echo "${ROOT}" > ${T}/ROOT
einfo "Building utilities..."
- make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
CFLAGS="${CFLAGS}" || die "problem compiling utilities"
if ! use build; then
# the shared obj by default anyway! The other option is to
# refrain from building sulogin, but that isn't a good option.
# (09 Jul 2004 agriffis)
- emake -C ${S2}/src CC="${CC:-gcc}" LD="${CC:-gcc}" \
+ emake -C ${S2}/src CC="$(tc-getCC)" LD="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} -D_GNU_SOURCE" \
LCRYPT="-lcrypt" || die "problem compiling sysvinit"
else
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.17 2004/10/05 12:59:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.18 2004/10/28 15:47:44 vapier Exp $
-inherit eutils
+inherit eutils toolchain-funcs
MY_PV=29
DESCRIPTION="A cute little cron from Matt Dillon"
sed -i 's:VISUAL:EDITOR:g' crontab.{c,1}
# remove gcc hardcode
- sed -i "s:\(CC = \)gcc:\1${CC:-gcc}:" Makefile
+ sed -i "s:\(CC = \)gcc:\1$(tc-getCC):" Makefile
}
src_compile() {
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7.ebuild,v 1.12 2004/10/23 05:48:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7.ebuild,v 1.13 2004/10/28 15:49:18 vapier Exp $
DESCRIPTION="Dog is better than cat"
-SRC_URI="http://jl.photodex.com/dog/${P}.tar.gz"
HOMEPAGE="http://jl.photodex.com/dog/"
+SRC_URI="http://jl.photodex.com/dog/${P}.tar.gz"
-inherit ccc
-
-IUSE=""
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 amd64 alpha ppc64 sparc ppc ppc-macos"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 ppc-macos sparc x86"
+IUSE=""
+
DEPEND=">=sys-apps/sed-4"
src_unpack() {
unpack ${A}
- cd ${S}; sed -i 's/^CFLAGS/#CFLAGS/' Makefile
- is-ccc && sed -i "s/gcc/${CC:-gcc}/" Makefile
+ cd ${S}
+ sed -i \
+ -e 's/^CFLAGS/#CFLAGS/' \
+ -e "s/gcc/$(tc-getCC)/" \
+ Makefile
}
src_compile() {
}
src_install() {
- dobin dog
+ dobin dog || die
doman dog.1
- dodoc README AUTHORS COPYING
+ dodoc README AUTHORS
}
-
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r4.ebuild,v 1.7 2004/06/30 16:29:43 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r4.ebuild,v 1.8 2004/10/28 15:50:50 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
MB_PATCH="${P/-/_}-7"
DESCRIPTION="Text formatter used for man pages"
local myconf=""
# Fix problems with not finding g++
- [ -z "${CC}" ] && export CC="gcc"
- [ -z "${CXX}" ] && export CXX="g++"
+ export CC="$(tc-getCC)"
+ export CXX="$(tc-getCXX)"
case ${ARCH} in
alpha)
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.19.1-r1.ebuild,v 1.4 2004/10/04 12:02:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.19.1-r1.ebuild,v 1.5 2004/10/28 15:50:50 vapier Exp $
-inherit eutils flag-o-matic gcc
+inherit eutils flag-o-matic toolchain-funcs
MB_PATCH="groff_1.18.1-7" #"${P/-/_}-7"
DESCRIPTION="Text formatter used for man pages"
local myconf=
# Fix problems with not finding g++
- export CC="$(gcc-getCC)"
- export CXX="$(gcc-getCXX)"
+ export CC="$(tc-getCC)"
+ export CXX="$(tc-getCXX)"
case ${ARCH} in
alpha)