My apologies .. the Makefile for ports continues to be (mostly) a black box for me.
I can see from the list of dependencies that git-2.47.0 requires perl5-5.36.3:
https://ports.freebsd.org/cgi/ports.cgi?query=git-2.47.0&stype=all&sektion=devel
However, when I run
Why the difference?
.. but if I check what is actually built ... 5.36 is in the list:
Is it possible that
Also, I dont understand how make knows what version of perl to use when there does not appear to be an explict DEPENDS statement in the Makefile:
.. whereas others do:
Thanks in advance for holding my hand .. *sigh*
I can see from the list of dependencies that git-2.47.0 requires perl5-5.36.3:
https://ports.freebsd.org/cgi/ports.cgi?query=git-2.47.0&stype=all&sektion=devel
However, when I run
echo "=== build ===" && make build-depends-list && echo "=== run ===" && make run-depends-list
it says perl5.40 is going to be used:
Code:
=== build ===
/usr/ports/ports-mgmt/pkg
/usr/ports/ftp/curl
/usr/ports/lang/p5-Error
/usr/ports/textproc/rubygem-asciidoctor
/usr/ports/textproc/xmlto
/usr/ports/devel/gmake
/usr/ports/converters/libiconv
/usr/ports/security/openssl
/usr/ports/devel/gettext-runtime
/usr/ports/devel/gettext-tools
/usr/ports/lang/python311
/usr/ports/devel/autoconf
/usr/ports/devel/automake
/usr/ports/lang/perl5.40
/usr/ports/textproc/expat2
/usr/ports/devel/pcre2
=== run ===
/usr/ports/textproc/expat2
/usr/ports/devel/pcre2
/usr/ports/devel/gettext-runtime
/usr/ports/ftp/curl
/usr/ports/www/p5-CGI
/usr/ports/lang/p5-Error
/usr/ports/security/p5-Authen-SASL
/usr/ports/security/p5-IO-Socket-SSL
/usr/ports/security/openssl
/usr/ports/lang/python311
/usr/ports/lang/perl5.40
Why the difference?
.. but if I check what is actually built ... 5.36 is in the list:
Code:
:/usr/ports/devel/git # pkg query --all '%o %n-%v %R' | grep perl5
lang/perl5.36 perl5-5.36.3_2 unknown-repository
Is it possible that
make build-depends-list
now says 5.40 and pkg query
for git is 5.36.3 because ports was updated by git after git was built using the ports from the dvd iso?Also, I dont understand how make knows what version of perl to use when there does not appear to be an explict DEPENDS statement in the Makefile:
Code:
:/usr/ports/devel/git # cat Makefile | grep perl5
PERL_USES= perl5
.. whereas others do:
Code:
:/usr/ports/devel/git # cat Makefile | grep pcre2
PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
:/usr/ports/devel/git # cat Makefile | grep expat2
CURL_LIB_DEPENDS= libexpat.so:textproc/expat2
Thanks in advance for holding my hand .. *sigh*