Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2024 10:33:55 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 0669690165a3 - 2024Q3 - lang/perl5*: remove calls to makewhatis
Message-ID:  <202408191033.47JAXtlM086629@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by mat:

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

commit 0669690165a321f09540907ae75e541da1b85ec0
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-08-19 10:28:04 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-08-19 10:33:30 +0000

    lang/perl5*: remove calls to makewhatis
    
    The @*exec macros have issues when being used when used with `pkg -r`,
    as %D does not account for the root directory. As we have a periodic
    task updating the makewhatis databases, and perl ports are the only ones
    actually doing that, probably for some long lost historic reason, it is
    easier to let that periodic task do its job.
    
    PR:             280458
    Discussed with: bapt
    Reported by:    Siva Mahadevan
    
    (cherry picked from commit 06745788d4b143777aa2cb91e31a4c07af90ded3)
---
 lang/perl5-devel/Makefile  | 2 +-
 lang/perl5-devel/pkg-plist | 2 --
 lang/perl5.36/Makefile     | 2 +-
 lang/perl5.36/pkg-plist    | 2 --
 lang/perl5.38/Makefile     | 2 +-
 lang/perl5.38/pkg-plist    | 2 --
 lang/perl5.40/Makefile     | 2 +-
 lang/perl5.40/pkg-plist    | 2 --
 8 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile
index 176454d20e92..0e12dadb4c86 100644
--- a/lang/perl5-devel/Makefile
+++ b/lang/perl5-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	perl
 DISTVERSION=	${PERL_VERSION}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN/../../src/5.0
 DIST_SUBDIR=	perl
diff --git a/lang/perl5-devel/pkg-plist b/lang/perl5-devel/pkg-plist
index ffb54d7fa7c0..7509e39d218b 100644
--- a/lang/perl5-devel/pkg-plist
+++ b/lang/perl5-devel/pkg-plist
@@ -2783,8 +2783,6 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf
 @dir %%SITE_ARCH%%/auto
 @dir %%SITE_PERL%%/man/man1
 @dir %%SITE_PERL%%/man/man3
-@postexec makewhatis %D/%%SITEMANPREFIX%%/man
-@postexec makewhatis %D/%%PERLMANPREFIX%%/man
 @rmtry %%PERLMANPREFIX%%/man/whatis
 @rmtry %%PERLMANPREFIX%%/man/mandoc.db
 @rmtry %%SITEMANPREFIX%%/man/whatis
diff --git a/lang/perl5.36/Makefile b/lang/perl5.36/Makefile
index 4eabf269b09e..2584900944ad 100644
--- a/lang/perl5.36/Makefile
+++ b/lang/perl5.36/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	perl
 DISTVERSION=	${PERL_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN/../../src/5.0
 DIST_SUBDIR=	perl
diff --git a/lang/perl5.36/pkg-plist b/lang/perl5.36/pkg-plist
index 70cd483657f0..c8dcd2f98bf3 100644
--- a/lang/perl5.36/pkg-plist
+++ b/lang/perl5.36/pkg-plist
@@ -2501,8 +2501,6 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf
 @dir %%SITE_ARCH%%/auto
 @dir %%SITE_PERL%%/man/man1
 @dir %%SITE_PERL%%/man/man3
-@postexec makewhatis %D/%%SITEMANPREFIX%%/man
-@postexec makewhatis %D/%%PERLMANPREFIX%%/man
 @rmtry %%PERLMANPREFIX%%/man/whatis
 @rmtry %%PERLMANPREFIX%%/man/mandoc.db
 @rmtry %%SITEMANPREFIX%%/man/whatis
diff --git a/lang/perl5.38/Makefile b/lang/perl5.38/Makefile
index 3d521aa0de67..cb9e7eb94a11 100644
--- a/lang/perl5.38/Makefile
+++ b/lang/perl5.38/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	perl
 DISTVERSION=	${PERL_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN/../../src/5.0
 DIST_SUBDIR=	perl
diff --git a/lang/perl5.38/pkg-plist b/lang/perl5.38/pkg-plist
index 59bc1edf9a1d..de1c16ea863f 100644
--- a/lang/perl5.38/pkg-plist
+++ b/lang/perl5.38/pkg-plist
@@ -2517,8 +2517,6 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf
 @dir %%SITE_ARCH%%/auto
 @dir %%SITE_PERL%%/man/man1
 @dir %%SITE_PERL%%/man/man3
-@postexec makewhatis %D/%%SITEMANPREFIX%%/man
-@postexec makewhatis %D/%%PERLMANPREFIX%%/man
 @rmtry %%PERLMANPREFIX%%/man/whatis
 @rmtry %%PERLMANPREFIX%%/man/mandoc.db
 @rmtry %%SITEMANPREFIX%%/man/whatis
diff --git a/lang/perl5.40/Makefile b/lang/perl5.40/Makefile
index fab01c97060a..6d5a96caea38 100644
--- a/lang/perl5.40/Makefile
+++ b/lang/perl5.40/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	perl
 DISTVERSION=	${PERL_VERSION}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN/../../src/5.0
 DIST_SUBDIR=	perl
diff --git a/lang/perl5.40/pkg-plist b/lang/perl5.40/pkg-plist
index 67b7a156f550..f328c6b03e4a 100644
--- a/lang/perl5.40/pkg-plist
+++ b/lang/perl5.40/pkg-plist
@@ -2779,8 +2779,6 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf
 @dir %%SITE_ARCH%%/auto
 @dir %%SITE_PERL%%/man/man1
 @dir %%SITE_PERL%%/man/man3
-@postexec makewhatis %D/%%SITEMANPREFIX%%/man
-@postexec makewhatis %D/%%PERLMANPREFIX%%/man
 @rmtry %%PERLMANPREFIX%%/man/whatis
 @rmtry %%PERLMANPREFIX%%/man/mandoc.db
 @rmtry %%SITEMANPREFIX%%/man/whatis



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