help with sed for post-patch

Eitan Adler eitanadlerlist at gmail.com
Sun Mar 21 20:14:32 UTC 2010


I need to change
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
to
set(LIBRARY_OUTPUT_PATH libdata/lib)

Here is what I have
${REINPLACE_CMD} -E 's/\$\{CMAKE_BINARY_DIR\}\/lib/libdata\/lib/'
${WRKSRC}/CMakeLists.txt

how could I fix this?


More information about the freebsd-ports mailing list