summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/rnv')
-rw-r--r--app-text/rnv/ChangeLog7
-rw-r--r--app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch (renamed from app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch)11
-rw-r--r--app-text/rnv/rnv-1.7.8-r2.ebuild8
3 files changed, 20 insertions, 6 deletions
diff --git a/app-text/rnv/ChangeLog b/app-text/rnv/ChangeLog
index 77f4477a0b5d..807382432a4a 100644
--- a/app-text/rnv/ChangeLog
+++ b/app-text/rnv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/rnv
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/rnv/ChangeLog,v 1.6 2008/10/13 23:54:59 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/rnv/ChangeLog,v 1.7 2008/10/27 19:14:22 opfer Exp $
+
+ 27 Oct 2008; Christian Faulhammer <opfer@gentoo.org>
+ -files/rnv-1.7.8-respect-CFLAGS.patch,
+ +files/rnv-1.7.8-respect-CFLAGS_and_CC.patch, rnv-1.7.8-r2.ebuild:
+ respect CC variable, thanks to flameeyes in bug 243746
*rnv-1.7.8-r2 (13 Oct 2008)
diff --git a/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch
index 85ef49e8619f..7a06bca630a4 100644
--- a/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch
+++ b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch
@@ -9,7 +9,7 @@
LFLAGS=${OPT} ${LBL}
LIBEXPAT=-lexpat
-@@ -106,7 +106,7 @@
+@@ -106,6 +106,6 @@
.SUFFIXES: .c .o
.c.o:
@@ -17,4 +17,13 @@
+ ${CC} ${CLAGS} -c -o $@ $<
all: rnv arx rvp xsdck test
+
+--- Makefile.gnu.orig 2008-10-27 20:08:38.000000000 +0100
++++ Makefile.gnu 2008-10-27 20:08:56.000000000 +0100
+@@ -1,6 +1,5 @@
+ VERSION=1.7.8
+-CC=cc
+
+ # optional features
+ M_STATIC=0
diff --git a/app-text/rnv/rnv-1.7.8-r2.ebuild b/app-text/rnv/rnv-1.7.8-r2.ebuild
index ad5e9822a717..184ae73b03da 100644
--- a/app-text/rnv/rnv-1.7.8-r2.ebuild
+++ b/app-text/rnv/rnv-1.7.8-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/rnv/rnv-1.7.8-r2.ebuild,v 1.1 2008/10/13 23:54:59 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/rnv/rnv-1.7.8-r2.ebuild,v 1.2 2008/10/27 19:14:22 opfer Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="A lightweight Relax NG Compact Syntax validator"
HOMEPAGE="http://www.davidashen.net/rnv.html"
@@ -20,11 +20,11 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-respect-CFLAGS.patch"
+ epatch "${FILESDIR}/${P}-respect-CFLAGS_and_CC.patch"
}
src_compile() {
- emake -j1 -f Makefile.gnu || die
+ CC=$(tc-getCC) emake -j1 -f Makefile.gnu || die
}
src_install() {