- 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.
This commit is contained in:
Alberto Villa 2016-12-31 14:28:37 +00:00
parent f62730d6a8
commit 459f6b98b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430123

View File

@ -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