~ubuntu-branches/ubuntu/raring/libverilog-perl/raring

« back to all changes in this revision

Viewing changes to Preproc/Makefile.PL

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy), أحمد المحمودي (Ahmed El-Mahmoudy), gregor herrmann, Nathan Handler
  • Date: 2013-01-03 15:27:09 UTC
  • mfrom: (15.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20130103152709-0btbnmj9selxje8t
Tags: 3.318-1
[ أحمد المحمودي (Ahmed El-Mahmoudy) ]
* New upstream release.
* debian/control:
  + Bumped Standards-Version to 3.9.4
  + Use canonical URIs in VCS-* fields

[ gregor herrmann ]
* hardening.patch: add CFLAGS and CPPFLAGS to OPTIMIZE in Makefile.PL.
* Update years of packaging copyright.

[ Nathan Handler ]
* Email change: Nathan Handler -> nhandler@debian.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    if ($Config{osname} =~ /darwin/i || $Config{archname} =~ /darwin/i) {
31
31
        # MakeMaker wants to create bundles on MacOSX rather than dylibs. We override DLEXT and LDDLFLAGS generated by MakeMaker in this case
32
32
        $out .= "DLEXT = dylib\n";
33
 
        $out .= sprintf("LDDLFLAGS = -dynamiclib -lstdc++ -L/System/Library/Perl/%vd/%s/CORE -lperl -lgcc_eh -L/usr/local/lib\n",$^V,$Config{archname});
 
33
        if ($^V eq '5.12.4') {
 
34
            $out .= sprintf("LDDLFLAGS = -dynamiclib -lstdc++ -L/System/Library/Perl/5.12/%s/CORE -lperl -L/usr/local/lib\n",$Config{archname});
 
35
        } else {
 
36
            $out .= sprintf("LDDLFLAGS = -dynamiclib -lstdc++ -L/System/Library/Perl/%vd/%s/CORE -lperl -lgcc_eh -L/usr/local/lib\n",$^V,$Config{archname});
 
37
        }
34
38
    }
35
39
    $out .= "CCFLAGS  += -Wall -Wno-unused -Werror\n" if $ENV{VERILATOR_AUTHOR_SITE};
36
40
    #$out .= "CCFLAGS += -O0 -ggdb\n" if $ENV{VERILATOR_AUTHOR_SITE};  print "%Warning: -O0 --gdb on, also FLEX -d on";