~ubuntu-branches/ubuntu/precise/libmongodb-perl/precise

« back to all changes in this revision

Viewing changes to ext/Module/Install/PRIVATE/Mongo.pm

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-09-23 22:46:29 UTC
  • Revision ID: james.westby@ubuntu.com-20110923224629-ppnfwu681mdyujqk
Tags: 0.45-1
* New upstream release.
* Rename source package to libmongodb-perl.
* Update 5.14-ccflags.patch (CCFLAGS are now set in
  ext/Module/Install/PRIVATE/Mongo.pm).
* debian/copyright: update formatting, add info about third-party files,
  add Apache-2.0 license stanza.
* Bump debhelper compatibility level to 8.
* Add /me to Uploaders.
* Add a patch to fix a spelling mistake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
use strict;
2
2
use warnings;
 
3
use Config;
3
4
 
4
5
package Module::Install::PRIVATE::Mongo;
5
6
 
18
19
    my $custom_cflags = 0;
19
20
    my $ccflags = $self->makemaker_args->{CCFLAGS};
20
21
 
 
22
    # #638894
 
23
    $ccflags .= " $Config{ccflags}");
 
24
    $custom_cflags = 1;
 
25
 
21
26
    if ($Config{osname} eq 'darwin') {
22
27
        my @arch = $Config::Config{ccflags} =~ m/-arch\s+(\S+)/g;
23
28
        my $archStr = join '', map { " -arch $_ " } @arch;