Gentoo Archives: gentoo-commits

From: "Jory Pratt (anarchy)" <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/openrc/files: openrc-0.6.2-fix-make-3.82.patch
Date: Sun, 22 Aug 2010 20:10:51
Message-Id: 20100822201043.569CD2004E@flycatcher.gentoo.org
1 anarchy 10/08/22 20:10:43
2
3 Added: openrc-0.6.2-fix-make-3.82.patch
4 Log:
5 Fix make breakage bug #333461, also allow user to apply conditional patches between releases without modifying ebuild.
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch?rev=1.1&content-type=text/plain
13
14 Index: openrc-0.6.2-fix-make-3.82.patch
15 ===================================================================
16 diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile
17 index cdcf8be..4bf28cf 100644
18 --- a/pkgconfig/Makefile
19 +++ b/pkgconfig/Makefile
20 @@ -2,7 +2,8 @@ DIR= ${LIBDIR}/pkgconfig
21 SRCS= einfo.pc.in openrc.pc.in
22 INC= einfo.pc openrc.pc
23
24 -sed -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h
25 +.DEFAULT:
26 + ${SED} -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h
27
28 SED_EXTRA= -e 's:@VERSION@:${VERSION}:g'