[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-build-dev
Subject: Re: [9] RFR: 8147754: Configure fails to detect freetype installed by XQuartz on OSX 10.11
From: Magnus Ihse Bursie <magnus.ihse.bursie () oracle ! com>
Date: 2016-02-08 19:48:26
Message-ID: 4C9F26D3-528B-4C9E-B002-6C2F30B28BAA () oracle ! com
[Download RAW message or body]
Looks good to me.
/Magnus
> 8 feb. 2016 kl. 19:39 skrev David DeHaven <david.dehaven@oracle.com>:
>
>
> JBS link:
> https://bugs.openjdk.java.net/browse/JDK-8147754
>
> Please review this small fix for locating Freetype with the updated version of \
> XQuartz (for OSX 10.11):
> --- cut here ---
> diff --git a/common/autoconf/lib-freetype.m4 b/common/autoconf/lib-freetype.m4
> --- a/common/autoconf/lib-freetype.m4
> +++ b/common/autoconf/lib-freetype.m4
> @@ -349,6 +349,14 @@
> LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], \
> [$FREETYPE_BASE_DIR/lib], [well-known location]) fi
>
> + if test "x$OPENJDK_TARGET_OS" = xmacosx; then
> + if test "x$FOUND_FREETYPE" != xyes; then
> + # Due to changes in OSX 10.11 XQuartz now installs to /opt/X11
> + FREETYPE_BASE_DIR="$SYSROOT/opt/X11"
> + LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], \
> [$FREETYPE_BASE_DIR/lib], [well-known location]) + fi
> + fi
> +
> if test "x$FOUND_FREETYPE" != xyes; then
> FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
> LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], \
> [$FREETYPE_BASE_DIR/lib], [well-known location])
> --- cut here ---
>
> Tested on OSX 10.11 (El Capitan) with XQuartz 2.7.8:
> $ sh ./configure
> ...
> checking for freetype includes... /opt/X11/include/freetype2
> checking for freetype libraries... /opt/X11/lib
> ...
>
> Build seems to work fine too.
>
> -DrD-
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic