Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2017 20:24:00 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451245 - head/emulators/wine-devel
Message-ID:  <201710042024.v94KO0YC027449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710042024.v94KO0YC027449>