ports dependency on perl broken

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Sat Nov 22 15:17:01 PST 2003

bsd.port.mk uses sysctl -n kern.osreldate to set OSVERSION, in our case
this gets set to 100000 (__DragonFly_version), which then bombs out the
perl check about line 1612:

. if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036
. if !exists(/usr/bin/perl${PERL_VERSION}) && ( defined(USE_PERL5) || \
    defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) )
    @${ECHO_CMD} "Error: you don't have the right version of perl in /usr/bin."
. endif

Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
Don't let your curiosity take you beyond the world where you belong...

More information about the Bugs mailing list