aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxine
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-07-26 08:17:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-07-26 08:17:44 +0800
commit9018c2382fa129bd77670b463d6fb376ce5f14a5 (patch)
treee8c8d73af2e7cfdb303c31d5a75b0ea57e62dff6 /multimedia/libxine
parentff6057fefcf1a4e0187cf4477a70661cb86de68f (diff)
downloadfreebsd-ports-graphics-9018c2382fa129bd77670b463d6fb376ce5f14a5.tar.gz
freebsd-ports-graphics-9018c2382fa129bd77670b463d6fb376ce5f14a5.tar.zst
freebsd-ports-graphics-9018c2382fa129bd77670b463d6fb376ce5f14a5.zip
- Fix check for a file which is generated during build. .if exists might not work in this case
Approved by: nox (maintainer)
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 9129e397de1..4992e89d0e0 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -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>