reinplace has no effect
Mark Brethen
mark.brethen at gmail.com
Mon Jul 7 11:30:18 PDT 2014
I have a cmake file that I need to patch. There are two lines in particular:
# find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR})
.
.
.
find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR})
.
.
.
I only need to replace the uncommented line. So I tried
post-configure {
reinplace {:^#:!s:Inventor/scxml:scxml:g} \
${worksrcpath}/src/3rdParty/CMakeLists.txt
}
But this had no effect, when it should work in sed. Am I missing something?
Mark
More information about the macports-dev
mailing list