aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2016-12-31 14:28:37 +0000
committerAlberto Villa <avilla@FreeBSD.org>2016-12-31 14:28:37 +0000
commit459f6b98b28773c79911ee2bfc975c3d759503db (patch)
treeae16438df70471bd702dbba5f2f752bc177e1dc1
parentf62730d6a85efbc958c7fb5d9e76ef4ecc7b0047 (diff)
downloadports-459f6b98b28773c79911ee2bfc975c3d759503db.tar.gz
ports-459f6b98b28773c79911ee2bfc975c3d759503db.zip
- Fix build on FreeBSD 9
FreeBSD 10+ has bmake(1) from NetBSD, which ignores stale .depend entries. To successfully build on older releases, we have to remove the incriminated file.
Notes
Notes: svn path=/head/; revision=430123
-rw-r--r--multimedia/shotcut/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/shotcut/Makefile b/multimedia/shotcut/Makefile
index f57f0ab3cb8c..2b19e4a19cde 100644
--- a/multimedia/shotcut/Makefile
+++ b/multimedia/shotcut/Makefile
@@ -52,6 +52,9 @@ post-patch:
${REINPLACE_CMD} -e 's/"qmelt"/"melt"/' \
${WRKSRC}/src/jobs/meltjob.cpp
+pre-build:
+ @${FIND} ${WRKSRC} -name '.depend' -delete
+
post-build-NLS-on:
${LRELEASE} ${WRKSRC}/src/src.pro