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

fix INSTALLDIRS for newer PERL versions #177

Open
pgnd opened this issue Apr 28, 2023 · 2 comments
Open

fix INSTALLDIRS for newer PERL versions #177

pgnd opened this issue Apr 28, 2023 · 2 comments

Comments

@pgnd
Copy link
Contributor

pgnd commented Apr 28, 2023

similar to

jonathanstowe/Term-Cap#15
jonathanstowe/Term-Cap#16

"INSTALLDIRS should not be set to "perl" in perl versions newer than 5.12, because site will take precedence."

i.e.,

@ https://github.com/andk/cpanpm/blob/master/Makefile.PL#L199
-	INSTALLDIRS  => 'perl',  # as it is coming with perl
+	'INSTALLDIRS'       => ($] < 5.012) ? "perl" : "site",

or similar, as appropriate

@pgnd
Copy link
Contributor Author

pgnd commented May 1, 2023

filed #178 for this.

@briandfoy
Copy link
Contributor

#178 was merged, so this can be closed as completed.

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