pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl5-devel: pkglint fixes



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sun Feb 5 10:09:14 2023 +0100
Changeset:	5f68cbf2ea29acf357c6203ebdb1b964287248da

Modified Files:
	perl5-devel/buildlink3.mk
	perl5-devel/options.mk
	perl5-devel/packlist.mk

Log Message:
perl5-devel: pkglint fixes

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5f68cbf2ea29acf357c6203ebdb1b964287248da

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 perl5-devel/buildlink3.mk | 2 +-
 perl5-devel/options.mk    | 2 +-
 perl5-devel/packlist.mk   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/perl5-devel/buildlink3.mk b/perl5-devel/buildlink3.mk
index fa8d758ede..7c6ea861ba 100644
--- a/perl5-devel/buildlink3.mk
+++ b/perl5-devel/buildlink3.mk
@@ -19,7 +19,7 @@ BUILDLINK_PKGSRCDIR.perl?=	../../lang/perl5
 _TOOLS_USE_PKGSRC.perl=	yes
 
 # do not change this LOCALBASE to PREFIX; that breaks the install of perl modules
-PERL5=		${LOCALBASE}/bin/perl
+PERL5=		${PREFIX}/bin/perl
 
 pkgbase := perl
 .include "../../mk/pkg-build-options.mk"
diff --git a/perl5-devel/options.mk b/perl5-devel/options.mk
index 29338f61c3..5f036fd736 100644
--- a/perl5-devel/options.mk
+++ b/perl5-devel/options.mk
@@ -10,7 +10,7 @@ CHECK_BUILTIN.pthread:=	yes
 CHECK_BUILTIN.pthread:=	no
 
 # By default, build with threads only if the threads are native.
-.if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
+.if ${USE_BUILTIN.pthread:tl} == yes
 PERL5_BUILD_THREADS_SUPPORT=	yes
 .else
 PERL5_BUILD_THREADS_SUPPORT=	${DLOPEN_REQUIRE_PTHREADS}
diff --git a/perl5-devel/packlist.mk b/perl5-devel/packlist.mk
index d3bd2e7515..340bf77466 100644
--- a/perl5-devel/packlist.mk
+++ b/perl5-devel/packlist.mk
@@ -28,7 +28,7 @@ _PERL5_PACKLIST_MK=	# defined
 .include "../../mk/bsd.prefs.mk"
 
 PERL5_USE_PACKLIST?=	yes
-.if !empty(PERL5_USE_PACKLIST:M[Yy][Ee][Ss])
+.if ${PERL5_USE_PACKLIST:tl} == yes
 # XXX: still experimental, but many packages already work
 #PERL5_PACKLIST?=	auto/${DISTNAME:C/-[0-9].*$//:C,-,/,g}/.packlist
 .endif


Home | Main Index | Thread Index | Old Index