#15860: umit ---------------------------------+------------------------------------------ Reporter: luis.kop@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by luis.kop@gmail.com): Replying to [comment:2 raimue@macports.org]:
patch-base.diff hardcodes the prefix `/opt/local` into the software. It should use ${prefix} instead, so it can be used in different places. I suggest to use a reinplace.
You already added a reinplace for ${prefix} in `post-destroot {}`, but I think it would be more appropriate to do this in `post-patch {}`.
Hi. Thanks for the comment. About the patch-base it's true, it's hardcode. But how hack the file during the installation. Using sed? About replace post-destroot by post-patch it's not a good idea. It didn't work. Is it mandatory in post-patch? -- Ticket URL: <http://trac.macports.org/ticket/15860#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS