summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-02-15 21:46:04 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-02-15 21:46:04 +0000
commit5cf906016c06728786e69537c4e4e788165ecbc2 (patch)
tree2624b89f7ae9ae63096362bee531e6ba35c4deda /net-misc/tiers/tiers-1.1.ebuild
parentRemove mask of mail-client/xfmail, mail-client/elm (diff)
downloadgentoo-2-5cf906016c06728786e69537c4e4e788165ecbc2.tar.gz
gentoo-2-5cf906016c06728786e69537c4e4e788165ecbc2.tar.bz2
gentoo-2-5cf906016c06728786e69537c4e4e788165ecbc2.zip
Adding gcc-4.3 patch per bug 251513. Thanks to Gene Seto <geneseto@hotmail.com> for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/tiers/tiers-1.1.ebuild')
-rw-r--r--net-misc/tiers/tiers-1.1.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/net-misc/tiers/tiers-1.1.ebuild b/net-misc/tiers/tiers-1.1.ebuild
index 3de2c0bd7949..d53de4490306 100644
--- a/net-misc/tiers/tiers-1.1.ebuild
+++ b/net-misc/tiers/tiers-1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tiers/tiers-1.1.ebuild,v 1.7 2007/06/12 21:21:39 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tiers/tiers-1.1.ebuild,v 1.8 2009/02/15 21:46:04 loki_val Exp $
inherit eutils
@@ -19,12 +19,13 @@ S=${WORKDIR}/${PN}${PV}
src_unpack() {
unpack ${MY_P}.tar.gz
- epatch ${FILESDIR}/${MY_P}-gccfixes.patch
- sed -e '1a\#!/bin/sh' -e '1d' -e "s|-f |-f /usr/share/${PN}/|g" -i ${S}/bin/strip4gnuplot3.5
+ epatch "${FILESDIR}"/${MY_P}-gccfixes.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ sed -e '1a\#!/bin/sh' -e '1d' -e "s|-f |-f /usr/share/${PN}/|g" -i "${S}"/bin/strip4gnuplot3.5
}
src_compile() {
- cd ${S}/src
+ cd "${S}"/src
emake CFLAGS="${CFLAGS}" CONFIGFILE="/etc/tiers-gnuplot.conf" EXEC="../bin/tiers-gnuplot" || die
# cleanup for a sec
rm *.o
@@ -37,6 +38,6 @@ src_install() {
newins src/tiers_config.generic tiers.conf
newins src/tiers_config.gnuplot tiers-gnuplot.conf
insinto /usr/share/${PN}
- doins bin/*.awk ${DISTDIR}/tiers2ns-lan.awk
+ doins bin/*.awk "${DISTDIR}"/tiers2ns-lan.awk
dodoc CHANGES COPYRIGHT README docs/*
}