Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/aballier:master commit in: scripts/texlive/tlpsrc/
Date: Thu, 30 Jul 2015 15:23:13
Message-Id: 1438269782.278d5a0015c08e40e6f761a9886efa00cae9bcf9.aballier@gentoo
1 commit: 278d5a0015c08e40e6f761a9886efa00cae9bcf9
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 15:23:02 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 15:23:02 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/aballier.git/commit/?id=278d5a00
7
8 Make extrardepend mandatory to use make dependencies
9
10 scripts/texlive/tlpsrc/Makefile | 7 +++++--
11 1 file changed, 5 insertions(+), 2 deletions(-)
12
13 diff --git a/scripts/texlive/tlpsrc/Makefile b/scripts/texlive/tlpsrc/Makefile
14 index db06331..80b335a 100644
15 --- a/scripts/texlive/tlpsrc/Makefile
16 +++ b/scripts/texlive/tlpsrc/Makefile
17 @@ -107,7 +107,10 @@ clean:
18 %-post.ebuild:
19 touch $@
20
21 -%.ebuild: %.desc %.deps %.list %.doclist %.srclist %.gentoolicense %-post.ebuild
22 +%.extrardepend:
23 + touch $@
24 +
25 +%.ebuild: %.desc %.deps %.list %.doclist %.srclist %.gentoolicense %-post.ebuild %.extrardepend
26 cat $(PORTDIR)/header.txt > $@
27 printf "EAPI=\"5\"\n\n" >> $@
28 echo -n "TEXLIVE_MODULE_CONTENTS=\"" >> $@
29 @@ -132,7 +135,7 @@ clean:
30 cat $(@:%.ebuild=%.deps) >> $@
31 echo "\"" >> $@
32 echo -n 'RDEPEND="$${DEPEND} ' >> $@
33 - -cat $(@:%.ebuild=%.extrardepend) >> $@
34 + cat $(@:%.ebuild=%.extrardepend) >> $@
35 echo '"' >> $@
36 cat $(@:%.ebuild=%-post.ebuild) >> $@