This is an automated email from the git hooks/post-receive script. dkogan-guest pushed a commit to branch master in repository libpdl-linearalgebra-perl.
commit 4af517beefefd51589372341f069178d82428ccf Author: Dima Kogan <[email protected]> Date: Sun Aug 30 23:28:03 2015 -0700 patch: dont link with lgfortran. This is not necessary --- ...n-t-need-to-link-with-gfortran-explicitly.patch | 69 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 70 insertions(+) diff --git a/debian/patches/0001-I-don-t-need-to-link-with-gfortran-explicitly.patch b/debian/patches/0001-I-don-t-need-to-link-with-gfortran-explicitly.patch new file mode 100644 index 0000000..16ca6b6 --- /dev/null +++ b/debian/patches/0001-I-don-t-need-to-link-with-gfortran-explicitly.patch @@ -0,0 +1,69 @@ +From: Dima Kogan <[email protected]> +Date: Sun, 30 Aug 2015 23:27:28 -0700 +Subject: I don't need to link with gfortran explicitly + +--- + Complex/Makefile.PL | 4 ++-- + Real/Makefile.PL | 6 +++--- + Trans/Makefile.PL | 2 +- + 3 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Complex/Makefile.PL b/Complex/Makefile.PL +index ed8e3ff..f0671c1 100755 +--- a/Complex/Makefile.PL ++++ b/Complex/Makefile.PL +@@ -10,14 +10,14 @@ use Config; + + %hash = pdlpp_stdargs(@::pack); + # $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this. +-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran '; ++#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml '; + #$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas '; + #$hash{'OPTIMIZE'} = '-O2 -mtune=k8'; # If you want to debug, uncomment this. + + $hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} || + eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} || + `pkg-config lapack blas --libs` || +- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath"; ++ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath"; + + $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl'; + +diff --git a/Real/Makefile.PL b/Real/Makefile.PL +index fe60f86..fea9908 100755 +--- a/Real/Makefile.PL ++++ b/Real/Makefile.PL +@@ -9,17 +9,17 @@ do('../Config'); + + @pack = (["real.pd",Real,PDL::LinearAlgebra::Real]); + %hash = pdlpp_stdargs(@::pack); +-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran '; ++#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml '; + #$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas '; + # $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this. +-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran '; ++#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml '; + #$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas '; + #$hash{'OPTIMIZE'} = '-O2 -mtune=k8'; # If you want to debug, uncomment this. + + $hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} || + eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} || + `pkg-config lapack blas --libs` || +- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath"; ++ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath"; + + $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl'; + +diff --git a/Trans/Makefile.PL b/Trans/Makefile.PL +index cd720cb..c0038f6 100644 +--- a/Trans/Makefile.PL ++++ b/Trans/Makefile.PL +@@ -14,7 +14,7 @@ use Config; + $hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} || + eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} || + `pkg-config lapack blas --libs` || +- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath"; ++ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath"; + + $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl'; + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4da99ae --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-I-don-t-need-to-link-with-gfortran-explicitly.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-linearalgebra-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
