[83377] trunk/dports/editors/emacs-snapshot/Portfile

Dan Ports dports at macports.org
Tue Aug 30 22:22:40 PDT 2011


On Wed, Aug 31, 2011 at 01:59:22AM -0500, Ryan Schmidt wrote:
> On Aug 30, 2011, at 19:03, Jeremy Lavergne wrote:
> 
> >> emacs-snapshot: drop lzmautils dependency (use_xz has that covered)
> > 
> > use_xz is only for depends_extract though, right?
> 
> Correct.
> 
> > Someone can for any number of reasons wind up with it being removed prior to the build phase, and macports will blissfully attempt a build without unlzma being available.

Yes, although I wasn't actually able to pull this off when I tried it:
`port extract && port uninstall xz && port build` reinstalled xz before
attempting the build.

> Are you saying emacs actually uses unlzma during the build phase? I can't find evidence of that by grepping the source. I'm assuming it's only used to extract the tarball, and that when the port was added in r77907, J?r?me did not realize that the depends_extract keyword existed, nor that "use_xz yes" would automatically add the needed unlzma dependency to depends_extract for you. This revision corrects that.

Right.

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/


More information about the macports-dev mailing list