summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-06 04:24:25 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-06 04:24:25 +0000
commit50f97ad05bbf106fa4a4df86d98bdc0391762e7f (patch)
tree22f7322224369d2cd686bf0664c78633ac3c9d92 /sys-apps/man
parentuse macos -> useq macos and use ppc-macos -> useq ppc-macos, bug #57900. (diff)
downloadgentoo-2-50f97ad05bbf106fa4a4df86d98bdc0391762e7f.tar.gz
gentoo-2-50f97ad05bbf106fa4a4df86d98bdc0391762e7f.tar.bz2
gentoo-2-50f97ad05bbf106fa4a4df86d98bdc0391762e7f.zip
make sure man2html respects user CFLAGS #66415
Diffstat (limited to 'sys-apps/man')
-rw-r--r--sys-apps/man/man-1.5m-r2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/man/man-1.5m-r2.ebuild b/sys-apps/man/man-1.5m-r2.ebuild
index 602cfa5ef13d..3288e904382f 100644
--- a/sys-apps/man/man-1.5m-r2.ebuild
+++ b/sys-apps/man/man-1.5m-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m-r2.ebuild,v 1.1 2004/10/03 07:52:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m-r2.ebuild,v 1.2 2004/10/06 04:24:25 vapier Exp $
inherit eutils flag-o-matic
@@ -31,9 +31,10 @@ src_unpack() {
-e 's!/usr/bin:/usr/ucb:!/usr/bin:!' \
-e 's/n l p o/n l p 0p 1p 3p o/' \
configure || die "configure sed failed"
-
sed -i -e 's:cc -o:$(CC) -o:' gencat/Makefile \
|| die "gencat/Makefile sed failed"
+ sed -i -e "/^CFLAGS /s:-O$: ${CFLAGS}:" man2html/Makefile.in \
+ || die "man2html/Makefile.in sed failed"
# security fix
epatch ${FILESDIR}/${P}-security.patch