svn commit: r451245 - head/emulators/wine-devel
Gerald Pfeifer
gerald at FreeBSD.org
Wed Oct 4 20:24:01 UTC 2017
Author: gerald
Date: Wed Oct 4 20:24:00 2017
New Revision: 451245
URL: https://svnweb.freebsd.org/changeset/ports/451245
Log:
Add a new Makefile target check-wine-devel-vs-wine-staging that works
around a deficiency of Mk/Scripts/check-stagedir.sh that does not spot
entries in pkg-plist that move from being enabled only with the STAGING
option (%%STAGING%%foo/bar/file) to being there by default (foo/bar/file).
This has caused actual issues for users, so we need to regularly check
for such cases, which a simple `check-wine-devel-vs-wine-staging` will
now do, provided the staging directory is accessible.
PR: 220950
Modified:
head/emulators/wine-devel/Makefile
Modified: head/emulators/wine-devel/Makefile
==============================================================================
--- head/emulators/wine-devel/Makefile Wed Oct 4 20:14:24 2017 (r451244)
+++ head/emulators/wine-devel/Makefile Wed Oct 4 20:24:00 2017 (r451245)
@@ -170,4 +170,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${STAGEDIR}${DOCSDIR}/README.winedbg
${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${STAGEDIR}${DOCSDIR}/README.winedump
+check-wine-devel-vs-wine-staging:
+ @grep %%STAGING%% pkg-plist | while read f; do \
+ f=`echo $$f | sed -e 's/%%STAGING%%//'`; \
+ if [ -f "$$STAGEDIR/$$PREFIX/$$f" ]; then \
+ printf "%s no longer contigent on %%STAGING%%?\n" "$$f"; \
+ fi \
+ done
+
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list