Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/developers/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,15 @@ the following to the bottom of your copy of `illumos.sh`:
export PKGVERS_BRANCH=9999.99.0.0

#
# Set to current version of Perl shipped with OpenIndiana:
# Set Perl related variables:
#
export PERL_VERSION="5.36"
export PERL_VARIANT="-thread-multi"
export PERL_PKGVERS="-536"
export BUILDPERL32="#"
PERL='/usr/perl5/bin/perl'
export PERL_VERSION="$($PERL -e 'print $^V =~ /^v(5\.[^\.]*).*$/')"
export PERL_PKGVERS="$($PERL -e 'print "-", $^V =~ /^v(5)\.([^\.]*).*$/')"
export PERL_ARCH="$($PERL -MConfig -e 'print $Config{archname}')"
export PERL_ARCH64="$PERL_ARCH"
export BUILDPERL32="$($PERL -MConfig -e 'print $Config{ptrsize} == 4 ? "" : "#"')"
export BUILDPERL64="$($PERL -MConfig -e 'print $Config{ptrsize} == 8 ? "" : "#"')"

#
# If you are building on the latest OpenIndiana (2017-03-07 and later), use
Expand Down