git: c9c6f17d347e - main - Scripts/check_leftovers.sh: Remove exceptions for GHC

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 08 Nov 2024 19:21:48 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9c6f17d347e9627b8f06d19a4d37455e387d091

commit c9c6f17d347e9627b8f06d19a4d37455e387d091
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-11-08 15:01:47 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-11-08 19:21:40 +0000

    Scripts/check_leftovers.sh: Remove exceptions for GHC
    
    These exceptions come from the era when we were packaging Haskell libraries.
    Registering a Haskell library in the global store results in changes in
    package.conf.d and doc directories.
    
    We don't install Haskell libs anymore, so there is no need in these exceptions.
    Moreover, both paths are now wrong, because:
    
    - share/doc/ghc-%%GHC_VERSION%% was changed to share/doc/ghc
    - lib/ghc-%%GHC_VERSION%%/package.conf.d was changed to lib/ghc-%%GHC_VERSION%%/lib/package.conf.d
---
 Mk/Scripts/check_leftovers.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Mk/Scripts/check_leftovers.sh b/Mk/Scripts/check_leftovers.sh
index 00e8ad4a45dc..8bd3143e4307 100644
--- a/Mk/Scripts/check_leftovers.sh
+++ b/Mk/Scripts/check_leftovers.sh
@@ -154,10 +154,6 @@ while read -r modtype path extra; do
 			# xmlcatmgr is constantly updating catalog.ports ignore
 			# modification to that file
 			share/xml/catalog.ports) ;;
-			# Ignore ghc's doc index
-			share/doc/ghc-%%GHC_VERSION%%/*) ;;
-			# Ignore ghc's package conf
-			lib/ghc-%%GHC_VERSION%%/package.conf.d/*) ;;
 			# Ignore common system config files
 			/etc/group|\
 			/etc/make.conf|\