#44418: p5-sgmlspm: fix installation -------------------------+----------------------------- Reporter: mojca@… | Owner: tlockhart1976@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-sgmlspm | -------------------------+----------------------------- Comment (by tlockhart1976@…): Replying to [comment:11 mojca@…]:
Uninstall perl5.18 and try to install p5.18-sgmlspm again. The problem only occurs if perl wasn't installed beforehand. (Because `perl5.lib` isn't defined.) Unfortunately, I am not seeing that failure after explicitly uninstalling perl5.18. If I then install p5.16-sgmlspm then perl5.16 gets installed and there are no errors. Is there something left over from the original installation of perl5.16 which allows this to now succeed??
I can help you with `port select`, but I don't know how this affects other packages either. Also, this is a deeper problem with perl packaging in MacPorts.
In this particular case I would probably suggest splitting `/opt/local/bin/sgmlspl` into a separate standalone port. (But that might change if we change Perl packaging.)
Yuck. There is very little in this package besides that program. And in looking at the contents list I see that this conflicts with everything anyway since it installs some libraries under "/opt/local/lib/perl5/". Any thoughts on how to structure the "conflicts" statement in the portfile? -- Ticket URL: <https://trac.macports.org/ticket/44418#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X