From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-devhelp+bounces-165-garchives=archives.gentoo.org@lists.gentoo.org>) id 1SYjz9-0005CZ-9q for garchives@archives.gentoo.org; Sun, 27 May 2012 20:22:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC7D0E0759; Sun, 27 May 2012 20:22:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 21FBBE0759 for <gentoo-devhelp@lists.gentoo.org>; Sun, 27 May 2012 20:22:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 82F9C1B401D for <gentoo-devhelp@lists.gentoo.org>; Sun, 27 May 2012 20:22:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.209 X-Spam-Level: X-Spam-Status: No, score=-1.209 tagged_above=-999 required=5.5 tests=[AWL=-0.199, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OPJisSlXpCAa for <gentoo-devhelp@lists.gentoo.org>; Sun, 27 May 2012 20:22:26 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F72A1B401B for <gentoo-devhelp@gentoo.org>; Sun, 27 May 2012 20:22:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <glgd-gentoo-devhelp@m.gmane.org>) id 1SYjyi-0003IB-2r for gentoo-devhelp@gentoo.org; Sun, 27 May 2012 22:22:16 +0200 Received: from athedsl-356186.home.otenet.gr ([85.72.246.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gentoo-devhelp@gentoo.org>; Sun, 27 May 2012 22:22:16 +0200 Received: from realnc by athedsl-356186.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <gentoo-devhelp@gentoo.org>; Sun, 27 May 2012 22:22:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-devhelp@lists.gentoo.org From: Nikos Chantziaras <realnc@gmail.com> Subject: [gentoo-devhelp] Trouble with package.env files Date: Sun, 27 May 2012 23:21:31 +0300 Organization: Lucas Barks Message-ID: <jpu2dd$sgo$1@dough.gmane.org> Precedence: bulk List-Post: <mailto:gentoo-devhelp@lists.gentoo.org> List-Help: <mailto:gentoo-devhelp+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-devhelp+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-devhelp+subscribe@lists.gentoo.org> List-Id: Gentoo Development-related help <gentoo-devhelp.gentoo.org> X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Reply-To: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-356186.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120525 Thunderbird/12.0.1 X-Archives-Salt: a848ed1b-c078-494e-a426-722e1a075122 X-Archives-Hash: 052fc81cec10a1464dc02b35ec164408 I have this in /etc/portage/package.env: app-emulation/emul-linux-x86-soundlibs soundlibs-delete-jack.conf and this in /etc/portage/env/soundlibs-delete-jack.conf: if [ "${EBUILD_PHASE}" == "src_prepare"] ; then rm -rf "${S}"/usr/lib32/jack rm -f $(find "${S}" -name 'libjack*') fi As per documentation: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3&chap=6#doc_chap3 However, it doesn't work. What do I do? !!! Problem in 'app-emulation/emul-linux-x86-soundlibs' dependencies. !!! "/etc/portage/env/soundlibs-delete-jack.conf", line 1: Invalid token '[' (not '=') portage.exception ... done! "/etc/portage/env/soundlibs-delete-jack.conf", line 1: Invalid token '[' (not '=') PS: What I'd really want is to define my own custom post_src_prepare() function. Possible?