Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.md: update Perl settings for OpenIndiana #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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