Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/prll/files: 0.4-ldflags.patch 0.4-prefix.patch
Date: Fri, 26 Feb 2010 10:01:04
Message-Id: E1Nkx0G-0005ic-Or@stork.gentoo.org
1 jlec 10/02/26 10:01:00
2
3 Added: 0.4-ldflags.patch 0.4-prefix.patch
4 Log:
5 Imported from sunrise, Thanks Jure Varlec for inial ebuild, #299798.
6 (Portage version: 2.2_rc63/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 app-shells/prll/files/0.4-ldflags.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/prll/files/0.4-ldflags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/prll/files/0.4-ldflags.patch?rev=1.1&content-type=text/plain
13
14 Index: 0.4-ldflags.patch
15 ===================================================================
16 diff --git a/Makefile b/Makefile
17 index c4587e7..b53dbb8 100644
18 --- a/Makefile
19 +++ b/Makefile
20 @@ -13,7 +13,7 @@ sanitycheck: check_key_size
21 ./check_key_size && touch sanitycheck || (rm -f sanitycheck && false)
22
23 prll_jobserver: sanitycheck
24 - $(CC) $(CFLAGS) -o prll_jobserver prll_jobserver.c
25 + $(CC) $(CFLAGS) $(LDFLAGS) -o prll_jobserver prll_jobserver.c
26
27 test: prll_jobserver
28 cd tests && $(MAKE)
29
30
31
32 1.1 app-shells/prll/files/0.4-prefix.patch
33
34 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/prll/files/0.4-prefix.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/prll/files/0.4-prefix.patch?rev=1.1&content-type=text/plain
36
37 Index: 0.4-prefix.patch
38 ===================================================================
39 diff --git a/prll.sh b/prll.sh
40 index 2ed4c04..bcf1525 100644
41 --- a/prll.sh
42 +++ b/prll.sh
43 @@ -25,13 +25,13 @@ function prll() {
44 EOF
45 return 1
46 fi
47 - /usr/bin/which prll_jobserver > /dev/null
48 + @GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_jobserver > /dev/null
49 if [[ $? -ne 0 ]] ; then
50 echo "PRLL: Missing prll_jobserver." 1>&2
51 return 1
52 fi
53 if [[ -z $PRLL_NR_CPUS ]] ; then
54 - /usr/bin/which grep > /dev/null
55 + @GENTOO_PORTAGE_EPREFIX@/usr/bin/which grep > /dev/null
56 if [[ $? -ne 0 || ! -a /proc/cpuinfo ]] ; then
57 echo "PRLL: Environment variable PRLL_NR_CPUS is not set" 1>&2
58 echo "PRLL: and either the grep utility is missing or" 1>&2