Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2014 20:41:47 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339816 - head/multimedia/smtube
Message-ID:  <201401152041.s0FKflXg016912@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401152041.s0FKflXg016912>