[BACK]Return to patch-configure CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / icu / patches

Annotation of pkgsrc/textproc/icu/patches/patch-configure, Revision 1.11

1.11    ! adam        1: $NetBSD: patch-configure,v 1.10 2019/04/03 00:13:00 ryoon Exp $
1.1       adam        2:
                      3: Portability fix.
1.6       adam        4: Solaris seems to need -std=c99 with recent pkgsrc so keep it.
1.7       sevan       5: Add support for Bitrig.
1.1       adam        6:
1.11    ! adam        7: --- configure.orig     2022-04-07 22:41:55.000000000 +0000
1.1       adam        8: +++ configure
1.11    ! adam        9: @@ -5314,7 +5314,7 @@ rm -f core conftest.err conftest.$ac_obj
1.7       sevan      10:                *-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
                     11:                esac
                     12:        fi ;;
                     13: -*-*-*bsd*|*-*-dragonfly*)     icu_cv_host_frag=mh-bsd-gcc ;;
                     14: +*-*-*bsd*|*-*-dragonfly*|*-*-bitrig*)         icu_cv_host_frag=mh-bsd-gcc ;;
                     15:  *-*-aix*)
                     16:        if test "$GCC" = yes; then
                     17:                icu_cv_host_frag=mh-aix-gcc
1.11    ! adam       18: @@ -5339,6 +5339,7 @@ rm -f core conftest.err conftest.$ac_obj
1.5       ryoon      19:  *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
                     20:  *-*-nto*)     icu_cv_host_frag=mh-qnx ;;
                     21:  *-ncr-*)      icu_cv_host_frag=mh-mpras ;;
                     22: +-*-sco3.2v5*) icu_cv_host_frag=mh-scoosr5 ;;
                     23:  *)            icu_cv_host_frag=mh-unknown ;;
                     24:  esac
                     25:
1.11    ! adam       26: @@ -5947,6 +5948,29 @@ if test "x$plugins" = "xtrue"; then
1.3       obache     27:  fi
                     28:
1.8       ryoon      29:
1.3       obache     30: +# check if sys/atomic.h is present.
                     31: +for ac_header in sys/atomic.h
                     32: +do :
                     33: +  ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default"
                     34: +if test "x$ac_cv_header_sys_atomic_h" = xyes; then :
                     35: +  cat >>confdefs.h <<_ACEOF
                     36: +#define HAVE_SYS_ATOMIC_H 1
                     37: +_ACEOF
                     38: +
                     39: +fi
                     40: +
                     41: +done
                     42: +
1.4       ryoon      43: +case "${host}" in
                     44: +*-netbsd*)
1.3       obache     45: +if test "x$ac_cv_header_sys_atomic_h" = "xyes"; then
                     46: +    CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_NETBSD_ATOMIC_OPS=1";
                     47: +fi
1.4       ryoon      48: +;;
                     49: +*)
                     50: +;;
                     51: +esac
1.3       obache     52: +
                     53:  U_ENABLE_DYLOAD=1
                     54:  enable=yes
1.8       ryoon      55:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
1.11    ! adam       56: @@ -7941,7 +7965,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
1.7       sevan      57:  case "${host}" in
                     58:        *-*-solaris*)   platform=U_SOLARIS ;;
                     59:        *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu)        platform=U_LINUX ;;
                     60: -      *-*-*bsd*|*-*-dragonfly*)       platform=U_BSD ;;
                     61: +      *-*-*bsd*|*-*-dragonfly*|*-*-bitrig*)   platform=U_BSD ;;
                     62:        *-*-aix*)       platform=U_AIX ;;
                     63:        *-*-hpux*)      platform=U_HPUX ;;
                     64:        *-apple-darwin*|*-apple-rhapsody*)      platform=U_DARWIN ;;

CVSweb <webmaster@jp.NetBSD.org>