svn commit: r362947 - head/multimedia/libxine
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Jul 26 00:17:45 UTC 2014
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>
More information about the svn-ports-all
mailing list