#39703: udunits: destroot fails ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: udunits | ---------------------------+----------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: You should disable building the perl module, because you don't know for which perl it will be built. (It would depend on which variant of the perl5 port the user has selected.) If someone actually needs the perl module, it can be reintroduced later as a p5-udunits port with subports for each supported version of perl. According to the INSTALL file, the way to disable the perl module is to set the environment variable `PERL` to the empty string. Doing this causes a new message to appear during configure: {{{ ./configure: ERROR: The following variables need values: VARIABLE DESCRIPTION EXAMPLE -------- ------- ------- LD_YACC yacc library -ly }}} The INSTALL file does not explain this option, but simply adding `LD_YACC=-ly` to the environment as well allowed the build to succeed for me on OS X 10.8. Patch attached. -- Ticket URL: <https://trac.macports.org/ticket/39703#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X