aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2016-12-31 22:28:37 +0800
committeravilla <avilla@FreeBSD.org>2016-12-31 22:28:37 +0800
commit561597455a4f048f7ca8e67756b6e720c9ba75ed (patch)
treeae16438df70471bd702dbba5f2f752bc177e1dc1 /multimedia
parentf8db434c9c46be03f54d03fedc5d8f5822a714ba (diff)
downloadfreebsd-ports-gnome-561597455a4f048f7ca8e67756b6e720c9ba75ed.tar.gz
freebsd-ports-gnome-561597455a4f048f7ca8e67756b6e720c9ba75ed.tar.zst
freebsd-ports-gnome-561597455a4f048f7ca8e67756b6e720c9ba75ed.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.
Diffstat (limited to 'multimedia')
-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