Opened 17 years ago

Closed 16 years ago

Last modified 14 years ago

#12462 closed defect (invalid)

depends_build not working?

Reported by: simon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.5.1
Keywords: Cc: simon@…, nox@…, waqar@…
Port:

Description

Hi,

I just had again the problem that depends_build doesn't work. The portfile has this depends_build settings:

depends_build  port:p5-xml-parser

So this should be executed if I run port -d configure. But it isn't and I don't know why. Do you have any ideas?

Thanks for your help, Simon

Change History (7)

comment:1 Changed 17 years ago by nox@…

Cc: nox@… added

Are you sure you don't already have p5-xml-parser installed?

comment:2 Changed 17 years ago by simon@…

No because the configure command failed with an error "XML::Parser is missing". I check it with port installed and it was not installed. After I installed p5-xml-parser manually through port install ... configure worked fine.

Simon

comment:3 Changed 16 years ago by waqar@…

Cc: waqar@… added

comment:4 Changed 16 years ago by simon@…

Cc: simon@… added; simon@… removed

comment:5 Changed 16 years ago by afb@…

Resolution: invalid
Status: newclosed

depends_build are used after configure, while depends_lib are used before configure.

So it works as currently documented in portfile(7), even if that it is somewhat opaque...

comment:6 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.