Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ab88cc20
Commit
ab88cc20
authored
Mar 25, 2016
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1257224: Windows-specific modules are missing in Makefile.PL
r=dylan
parent
33689864
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Constants.pm
Bugzilla/Constants.pm
+1
-1
Makefile.PL
Makefile.PL
+7
-0
No files found.
Bugzilla/Constants.pm
View file @
ab88cc20
...
@@ -524,7 +524,7 @@ use constant DB_MODULE => {
...
@@ -524,7 +524,7 @@ use constant DB_MODULE => {
};
};
# True if we're on Win32.
# True if we're on Win32.
use
constant
ON_WINDOWS
=>
(
$^O
=~
/MSWin32/i
)
?
1
:
0
;
use
constant
ON_WINDOWS
=>
$^O
eq
'MSWin32'
?
1
:
0
;
# True if we're using ActiveState Perl (as opposed to Strawberry) on Windows.
# True if we're using ActiveState Perl (as opposed to Strawberry) on Windows.
use
constant
ON_ACTIVESTATE
=>
eval
{
&
Win32::
BuildNumber
};
use
constant
ON_ACTIVESTATE
=>
eval
{
&
Win32::
BuildNumber
};
...
...
Makefile.PL
View file @
ab88cc20
...
@@ -61,6 +61,13 @@ my %requires = (
...
@@ -61,6 +61,13 @@ my %requires = (
'URI'
=>
'1.55'
,
'URI'
=>
'1.55'
,
);
);
# Windows requires some additional modules.
if
(
$^O
eq
'MSWin32'
)
{
$requires
{
'Win32'
}
=
'0.35'
;
$requires
{
'Win32::API'
}
=
'0.55'
;
$requires
{
'DateTime::TimeZone::Local::Win32'
}
=
'1.64'
;
}
my
%
optional_features
=
(
my
%
optional_features
=
(
features
=>
{
features
=>
{
prereqs
=>
{
runtime
=>
{
requires
=>
{
'CPAN::Meta::Check'
=>
0
,
'Module::Runtime'
=>
0
,
'CPAN::Meta'
=>
0
,
},
},
},
prereqs
=>
{
runtime
=>
{
requires
=>
{
'CPAN::Meta::Check'
=>
0
,
'Module::Runtime'
=>
0
,
'CPAN::Meta'
=>
0
,
},
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment