From owner-svn-ports-all@FreeBSD.ORG Sat Jul 26 00:17:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB5FC291; Sat, 26 Jul 2014 00:17:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D89F52E4E; Sat, 26 Jul 2014 00:17:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6Q0HiBN061120; Sat, 26 Jul 2014 00:17:44 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6Q0HiAZ061119; Sat, 26 Jul 2014 00:17:44 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201407260017.s6Q0HiAZ061119@svn.freebsd.org> From: Dmitry Marakasov Date: Sat, 26 Jul 2014 00:17:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362947 - head/multimedia/libxine X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 00:17:45 -0000 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