Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#25317 closed defect (fixed)

antlr3 3.2 destroot failure

Reported by: dkkeen@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: haspatch Cc:
Port: antlr3

Description

sudo port install antlr3 fails with the following error:

Error: Target org.macports.destroot returned: can't read "distfile": no such variable

I was able to install the port by modifying the destroot section of the Porfile to this:

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
    copy ${distpath}/${distname}${extract.suffix} ${destroot}${prefix}/share/java/${real_name}.jar
}

Change History (3)

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Cc: singingwolfboy@… removed
Owner: changed from macports-tickets@… to singingwolfboy@…
Summary: antlr3 3.2 install failureantlr3 3.2 destroot failure

comment:2 Changed 10 years ago by singingwolfboy@…

Resolution: fixed
Status: newclosed

Thanks for letting me know! I've committed your fix in r68895.

comment:3 Changed 10 years ago by ryandesign (Ryan Schmidt)

FYI the variable is called "distfiles" not "distfile".

Note: See TracTickets for help on using tickets.