aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-devel
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2017-10-05 04:24:00 +0800
committergerald <gerald@FreeBSD.org>2017-10-05 04:24:00 +0800
commite3c7ef8bb7a1c7a28b01ad8ebbd8803d7f64e43f (patch)
tree404eb4c4c9eb4fa676172923e021201eb9d9546d /emulators/wine-devel
parentec155bc778b991bfc3ab3466f34b40d2d5d423aa (diff)
downloadfreebsd-ports-gnome-e3c7ef8bb7a1c7a28b01ad8ebbd8803d7f64e43f.tar.gz
freebsd-ports-gnome-e3c7ef8bb7a1c7a28b01ad8ebbd8803d7f64e43f.tar.zst
freebsd-ports-gnome-e3c7ef8bb7a1c7a28b01ad8ebbd8803d7f64e43f.zip
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
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index faabeb8f3ac4..20ed5b6f435d 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -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>