svn commit: r339816 - head/multimedia/smtube

Pawel Pekala pawel at FreeBSD.org
Wed Jan 15 20:41:47 UTC 2014


Author: pawel
Date: Wed Jan 15 20:41:46 2014
New Revision: 339816
URL: http://svnweb.freebsd.org/changeset/ports/339816
QAT: https://qat.redports.org/buildarchive/r339816/

Log:
  Fix build after last commit, QMAKE_ARGS contains $(..) shell invocations
  which are interpreted by gmake as variables, escape them.
  
  MFH:		2014Q1

Modified:
  head/multimedia/smtube/Makefile

Modified: head/multimedia/smtube/Makefile
==============================================================================
--- head/multimedia/smtube/Makefile	Wed Jan 15 20:41:24 2014	(r339815)
+++ head/multimedia/smtube/Makefile	Wed Jan 15 20:41:46 2014	(r339816)
@@ -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' \


More information about the svn-ports-all mailing list