public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-devhelp] Trouble with package.env files
@ 2012-05-27 20:21 Nikos Chantziaras
  2012-05-27 20:33 ` [gentoo-devhelp] " Nikos Chantziaras
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2012-05-27 20:21 UTC (permalink / raw
  To: gentoo-devhelp

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?




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-28 16:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-27 20:21 [gentoo-devhelp] Trouble with package.env files Nikos Chantziaras
2012-05-27 20:33 ` [gentoo-devhelp] " Nikos Chantziaras
2012-05-27 20:46 ` [gentoo-devhelp] " Dan Douglas
2012-05-28 16:25 ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox