#33325: Port request- shairport --------------------------------+------------------------------------------- Reporter: jruschme@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: shairport --------------------------------+------------------------------------------- Comment(by mk@…): Hardcoding the prefix is not recommended since users might have a different prefix. Please be aware that users might have different prefixes then /opt/local for their installations. Therefore you should use the "reinplace" command {{{ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile }}} in your portfile to manipulate the path properly. See section "5.6 Tcl extensions" for more details. -- Ticket URL: <https://trac.macports.org/ticket/33325#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS