Update cad/opencascade to version 6.9.1_1
[dports.git] / lang / gcc47 / dragonfly / patch-configure
1 $NetBSD: patch-configure,v 1.2 2012/06/23 22:13:02 marino Exp $
2
3 --- configure.orig      2012-02-02 10:20:32.000000000 +0000
4 +++ configure
5 @@ -5191,9 +5191,11 @@ if test "x$with_mpfr_lib" != x; then
6    gmplibs="-L$with_mpfr_lib $gmplibs"
7  fi
8  if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
9 -  gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
10 -  gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
11 -  extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
12 +  sdir=
13 +  test -d "${srcdir}/mpfr/src" && sdir=/src
14 +  gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir $gmplibs"
15 +  gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr'"$sdir "'-I$$s/mpfr'"$sdir $gmpinc"
16 +  extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'"$sdir "'--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir"
17    # Do not test the mpfr version.  Assume that it is sufficient, since
18    # it is in the source tree, and the library has not been built yet
19    # but it would be included on the link line in the version check below