Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 00:17:44 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362947 - head/multimedia/libxine
Message-ID:  <201407260017.s6Q0HiAZ061119@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jul 26 00:17:44 2014
New Revision: 362947
URL: http://svnweb.freebsd.org/changeset/ports/362947
QAT: https://qat.redports.org/buildarchive/r362947/

Log:
  - Fix check for a file which is generated during build. .if exists might not work in this case
  
  Approved by:	nox (maintainer)

Modified:
  head/multimedia/libxine/Makefile

Modified: head/multimedia/libxine/Makefile
==============================================================================
--- head/multimedia/libxine/Makefile	Sat Jul 26 00:11:11 2014	(r362946)
+++ head/multimedia/libxine/Makefile	Sat Jul 26 00:17:44 2014	(r362947)
@@ -230,9 +230,9 @@ post-patch:
 # XXX older nvidia-driver versions don't support opengl 2.0 so this
 # plugin might not get built:
 post-install:
-.if !exists(${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so)
-	${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \
-		${TMPPLIST}
-.endif
+	@if ! [ -e "${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so" ]; then \
+		${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \
+			${TMPPLIST}; \
+	fi
 
 .include <bsd.port.post.mk>



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