svn commit: r484628 - in head: . Mk Templates accessibility/speech-dispatcher archivers/fastjar archivers/gcpio archivers/gtar archivers/gzip archivers/lzip archivers/lzlib archivers/plzip archiver...

Gerald Pfeifer gerald at pfeifer.com
Sat Nov 10 22:19:05 UTC 2018


On Sat, 10 Nov 2018, Baptiste Daroussin wrote:
> Author: bapt
> URL: https://svnweb.freebsd.org/changeset/ports/484628
> 
> Log:
>   Install texinfo files (GNU info) into ${PREFIX}/share/info
:
>   Other benefit than consistency are less patching: all build tools but
>   cmake are expecting info files to be under share/info and cmake (patched here)
>   was having an exception for BSD so the patch makes FreeBSD case less
>   specific for them
>   
>   Bump revision of all impacted ports
>   
>   PR:		232907
>   exp-run by:	antoine
>   Differential Revision:	https://reviews.freebsd.org/D17816

After this change I am now getting the following for all my lang/gcc*
ports when subjecting them to my usual testing (which installs into a
non-standard and fresh/empty prefix):


====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: share/info/gcc7/dir
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
===> Warning: Test was done with PREFIX != LOCALBASE
===> Warning: The port may not be properly installing into PREFIX
*** Error code 1

Stop.
make: stopped in /home/gerald/ports/lang/gcc7-devel


The patch below addresses this.  Okay to commit?

Gerald @FreeBSD.org


Index: Mk/Scripts/check-stagedir.sh
===================================================================
--- Mk/Scripts/check-stagedir.sh	(revision 484633)
+++ Mk/Scripts/check-stagedir.sh	(working copy)
@@ -154,7 +154,7 @@
 		*/.svn/*|'@dir '*/.svn) ;;
 		*/.svnignore) ;;
 		*/CVS/*|'@dir '*/CVS) ;;
-		*/info/dir|info/dir|info/*/dir) ;;
+		*/info/dir|info/dir|info/*/dir|share/info/*/dir) ;;
 		share/fonts/*/fonts.dir) ;;
 		share/fonts/*/fonts.scale) ;;
 		share/applications/mimeinfo.cache) ;;


More information about the svn-ports-all mailing list