summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Welch <zwelch@gentoo.org>2003-03-27 01:04:28 +0000
committerZack Welch <zwelch@gentoo.org>2003-03-27 01:04:28 +0000
commitcfad74d42ee49afedff193e9211371922b8d705c (patch)
tree3e5477abd2c5cdffa1092321683cb19a1ab1cf3b /sys-apps/man
parentlicence format change (diff)
downloadgentoo-2-cfad74d42ee49afedff193e9211371922b8d705c.tar.gz
gentoo-2-cfad74d42ee49afedff193e9211371922b8d705c.tar.bz2
gentoo-2-cfad74d42ee49afedff193e9211371922b8d705c.zip
fix distcc compiles by using CC properly (bug 18242)
Diffstat (limited to 'sys-apps/man')
-rw-r--r--sys-apps/man/ChangeLog5
-rw-r--r--sys-apps/man/man-1.5l-r1.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-apps/man/ChangeLog b/sys-apps/man/ChangeLog
index c3b667d115bc..64944efccfdb 100644
--- a/sys-apps/man/ChangeLog
+++ b/sys-apps/man/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for sys-apps/man
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.21 2003/03/19 22:24:28 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.22 2003/03/27 01:04:28 zwelch Exp $
*man-1.5l-r1 (19 Mar 2003)
+ 26 Mar 2003; Zach Welch <zwelch@gentoo.org> man-1.5l-r1.ebuild:
+ fix distcc compiles by using CC properly (bug 18242)
+
19 Mar 2003; root <root@gentoo.org> man-1.5l-r1.ebuild,
files/man-1.5l-redhat-patches.patch:
corrected patch. closes #17801.
diff --git a/sys-apps/man/man-1.5l-r1.ebuild b/sys-apps/man/man-1.5l-r1.ebuild
index 9414230f9a32..a8568de7b3f4 100644
--- a/sys-apps/man/man-1.5l-r1.ebuild
+++ b/sys-apps/man/man-1.5l-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5l-r1.ebuild,v 1.1 2003/03/19 22:24:28 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5l-r1.ebuild,v 1.2 2003/03/27 01:04:28 zwelch Exp $
IUSE=""
@@ -37,7 +37,6 @@ src_unpack() {
cp Makefile.in Makefile.in.orig
sed -e '/inst.sh/d' \
-e '/^CC =/c\' \
- -e "CC = gcc" \
-e '/^CFLAGS =/c\' \
-e "CFLAGS = ${CFLAGS}" \
Makefile.in.orig > Makefile.in
@@ -45,7 +44,7 @@ src_unpack() {
cd ${S}/gencat
cp Makefile Makefile.orig
- sed -e "s:cc -o:gcc -o:" Makefile.orig > Makefile
+ sed -e 's:cc -o:$(CC) -o:' Makefile.orig > Makefile
cd ${S}
# Fix search order in man.conf so that system installed manpages
@@ -80,7 +79,7 @@ src_compile() {
+sgid +fhs \
${myconf} || die
- make || die
+ make CC="${CC}" || die
}
src_install() {