#20525: testdisk: new version available -------------------------------------------------+-------------------------- Reporter: michael.klein@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: testdisk | -------------------------------------------------+-------------------------- Comment(by michael.klein@…):
{{{ configure.cppflags configure.ldflags }}}
otherwise the build failed if ossp-uuid was installed (which it will be for all existing users of testdisk since it was a dependency).
testdisk has quite a few optional dependencies on ports like jpeg or ntfsprogs. With the above fix the configure script won't find the ntfs headers any more even if ntfsprogs is installed. I'd like to suggest to add the following instead: {{{ configure.cppflags-append [exec sh -c "uuid-config --cflags 2>/dev/null; exit 0"] configure.ldflags-append [exec sh -c "uuid-config --ldflags --libs 2>/dev/null; exit 0"] }}} -- Ticket URL: <http://trac.macports.org/ticket/20525#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS