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

perl is built with . in INC by default #98

Closed
stigtsp opened this issue Sep 22, 2020 · 2 comments
Closed

perl is built with . in INC by default #98

stigtsp opened this issue Sep 22, 2020 · 2 comments

Comments

@stigtsp
Copy link
Contributor

stigtsp commented Sep 22, 2020

default_inc_excludes_dot defaults to undef when building cross building perl, not sure if this is intentional.

-Ddefault_inc_excludes_dot is needed to avoid this in NixOS/nixpkgs#98466

@arsv
Copy link
Owner

arsv commented Sep 22, 2020

Updated to match current mainline perl.

For some reason, it was "define" for cperl but "undef" for regular perl.
Most likely matching respective defaults at the time it was added.

# These should have been in _misc but the setting differ between
# mainline perl and cperl.
if [ "$package" = "cperl" ]; then
define fake_signatures 'define'
define default_inc_excludes_dot 'define'
else
define default_inc_excludes_dot 'undef'
fi

@stigtsp
Copy link
Contributor Author

stigtsp commented Sep 22, 2020

@arsv thx for quick fix! 👍

@stigtsp stigtsp closed this as completed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants