diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-24 06:20:59 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-24 06:20:59 +0000 |
commit | 6a23c7c643d59238715a9567cf01160d65e10194 (patch) | |
tree | 93c826d6c4e12d675e4a2bbb7a5e2c8651dd5ecc /sci-libs/minuit/files | |
parent | Version bump (diff) | |
download | gentoo-2-6a23c7c643d59238715a9567cf01160d65e10194.tar.gz gentoo-2-6a23c7c643d59238715a9567cf01160d65e10194.tar.bz2 gentoo-2-6a23c7c643d59238715a9567cf01160d65e10194.zip |
Version bump
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/minuit/files')
-rw-r--r-- | sci-libs/minuit/files/minuit-5.24.00-as-needed.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sci-libs/minuit/files/minuit-5.24.00-as-needed.patch b/sci-libs/minuit/files/minuit-5.24.00-as-needed.patch new file mode 100644 index 000000000000..b1cf59b177a9 --- /dev/null +++ b/sci-libs/minuit/files/minuit-5.24.00-as-needed.patch @@ -0,0 +1,26 @@ +--- config/m4/ac_openmp.m4.orig 2009-07-17 16:35:06.000000000 +0100 ++++ config/m4/ac_openmp.m4 2009-09-24 07:17:56.000000000 +0100 +@@ -87,6 +87,13 @@ + *) + OPENMP_[]_AC_LANG_PREFIX[]FLAGS=$ac_cv_prog_[]_AC_LANG_ABBREV[]_openmp ;; + esac ++ OPENMP_LIBS= ++ if test "x$ac_option" = "x-fopenmp"; then ++ OPENMP_LIBS="-lgomp" ++ fi ++ AC_SUBST([OPENMP_LIBS]) ++ + fi + AC_SUBST([OPENMP_]_AC_LANG_PREFIX[FLAGS]) ++ + ]) +--- configure.in.orig 2009-09-24 06:53:14.000000000 +0100 ++++ configure.in 2009-09-24 06:50:12.000000000 +0100 +@@ -43,6 +43,7 @@ + AC_OPENMP + CFLAGS="$CFLAGS $OPENMP_CFLAGS" + CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS" ++LIBS="$LIBS $OPENMP_LIBS" + + dnl files to be generated + AC_OUTPUT(Makefile inc/Makefile inc/Minuit2/Makefile inc/Math/Makefile src/Makefile |