Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Trouble with package.env files
Date: Sun, 27 May 2012 20:22:44
Message-Id: jpu2dd$sgo$1@dough.gmane.org
1 I have this in /etc/portage/package.env:
2
3 app-emulation/emul-linux-x86-soundlibs soundlibs-delete-jack.conf
4
5 and this in /etc/portage/env/soundlibs-delete-jack.conf:
6
7 if [ "${EBUILD_PHASE}" == "src_prepare"] ;
8 then
9 rm -rf "${S}"/usr/lib32/jack
10 rm -f $(find "${S}" -name 'libjack*')
11 fi
12
13 As per documentation:
14
15 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3&chap=6#doc_chap3
16
17 However, it doesn't work. What do I do?
18
19 !!! Problem in 'app-emulation/emul-linux-x86-soundlibs' dependencies.
20 !!! "/etc/portage/env/soundlibs-delete-jack.conf", line 1: Invalid token
21 '[' (not '=') portage.exception
22 ... done!
23 "/etc/portage/env/soundlibs-delete-jack.conf", line 1: Invalid token '['
24 (not '=')
25
26
27 PS:
28 What I'd really want is to define my own custom post_src_prepare()
29 function. Possible?

Replies

Subject Author
[gentoo-devhelp] Re: Trouble with package.env files Nikos Chantziaras <realnc@×××××.com>
Re: [gentoo-devhelp] Trouble with package.env files Dan Douglas <ormaaj@×××××.com>
Re: [gentoo-devhelp] Trouble with package.env files Michael Orlitzky <michael@××××××××.com>