Fix build after last commit, QMAKE_ARGS contains $(..) shell invocations

which are interpreted by gmake as variables, escape them.

MFH:		2014Q1
This commit is contained in:
Pawel Pekala 2014-01-15 20:41:46 +00:00
parent 27ff2ebec7
commit afc02a1dff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339816

View File

@ -23,7 +23,7 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|' \
@${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS:S,\$(,\$\$(,g}|' \
-e 's|lrelease|${LRELEASE}|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
-e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \