lang/p5-Tcl: update to 1.32

Changelog: https://metacpan.org/release/VKON/Tcl-1.32/source/Changes

Port changes:
    * Add new dependency for tests
    * reorder section to make linter happy
    * remove unrequired patch
This commit is contained in:
Rodrigo Osorio 2024-02-10 17:53:03 +01:00
parent 962165f372
commit 5117300aed
4 changed files with 11 additions and 18 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= Tcl
PORTVERSION= 1.27
PORTVERSION= 1.32
CATEGORIES= lang perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -11,12 +11,15 @@ WWW= https://metacpan.org/release/Tcl
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
PORTSCOUT= limit:^[0-9\.]*$$
TEST_DEPENDS= p5-Devel-Refcount>0:devel/p5-Devel-Refcount
CONFIGURE_ARGS= --nousestubs --tclsh ${TCLSH}
USES= perl5 tcl
USE_PERL5= configure
CONFIGURE_ARGS= --nousestubs \
--tclsh ${TCLSH}
PORTSCOUT= limit:^[0-9\.]*$$
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Tcl/Tcl.so

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1535013543
SHA256 (Tcl-1.27.tar.gz) = f8385877a4a9ed9f3d3903d2d0f7cd70fac3ce6832c60f600a6821cee3fb5872
SIZE (Tcl-1.27.tar.gz) = 171072
TIMESTAMP = 1707579656
SHA256 (Tcl-1.32.tar.gz) = 4102c34f85732d50307e8ca92d593b223d12d580242f3e67258fb9e026b43ebf
SIZE (Tcl-1.32.tar.gz) = 173076

View File

@ -1,12 +0,0 @@
--- Makefile.PL.orig 2018-07-25 16:31:13 UTC
+++ Makefile.PL
@@ -191,8 +191,8 @@ if (defined($libpath) && defined($incpat
$defs .= " -DTCL_LIB_FILE=\\\"tcl$tclver.$Config{so}\\\"" if $usestubs;
}
elsif ($^O eq 'freebsd' or $^O eq 'openbsd' or $^O eq 'netbsd') {
+ $tclcfg{tcl_library} =~ /^(.*)[\\\/]lib[\\\/]/ and $incpath .= " -I$1/include/tcl$tclver";
$tclver=~s/\.//;
- $tclsh=~/([\d.]+)$/ and $incpath .= " -I/usr/local/include/tcl$1";
$defs .= " -DTCL_LIB_FILE=\\\"libtcl$tclver.$Config{so}\\\"" if $usestubs;
}
else {

View File

@ -1,3 +1,5 @@
%%SITE_ARCH%%/Tcl.pm
%%SITE_ARCH%%/Tcl-hack.pod
%%SITE_ARCH%%/auto/Tcl/Tcl.so
%%PERL5_MAN3%%/Tcl.3.gz
%%PERL5_MAN3%%/Tcl-hack.3.gz