Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 07:32:46 +0100
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        "ports-committers@freebsd.org" <ports-committers@freebsd.org>,  "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>,  "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r403745 - head/java/openjdk8
Message-ID:  <CAALwa8mNQHfKaixr2rYtAjzAC-aHQ1Yzfw2ec7e-bfrGjOTw2g@mail.gmail.com>
In-Reply-To: <201512142302.tBEN2n9c074595@repo.freebsd.org>
References:  <201512142302.tBEN2n9c074595@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 15, 2015 at 12:02 AM, Jung-uk Kim <jkim@freebsd.org> wrote:
> Author: jkim
> Date: Mon Dec 14 23:02:49 2015
> New Revision: 403745
> URL: https://svnweb.freebsd.org/changeset/ports/403745
>
> Log:
>   Respect CC, CPP and CXX with full paths.
>
>   PR:           203747
>
> Modified:
>   head/java/openjdk8/Makefile

This breaks INDEX on FreeBSD 9  (no new packages for FreeBSD 9 users
in the next 2 days)

java/openjdk8 % fmake describe
Unknown modifier '['

"Makefile", line 273: Malformed conditional (defined(CC) && ${CC:[)
"Makefile", line 277: if-less endif
Unknown modifier '['

"Makefile", line 273: Malformed conditional (defined(CPP) && ${CPP:[)
"Makefile", line 277: if-less endif
Unknown modifier '['

"Makefile", line 273: Malformed conditional (defined(CXX) && ${CXX:[)
"Makefile", line 277: if-less endif
fmake: fatal errors encountered -- cannot continue

Cheers,

Antoine

>
> Modified: head/java/openjdk8/Makefile
> ==============================================================================
> --- head/java/openjdk8/Makefile Mon Dec 14 22:53:14 2015        (r403744)
> +++ head/java/openjdk8/Makefile Mon Dec 14 23:02:49 2015        (r403745)
> @@ -268,6 +268,18 @@ JDK_BUILD_TYPE=            release
>
>  AUTOCONF_ARGS= -I . -o generated-configure.sh generated-configure.ac
>
> +# XXX configure script rejects CC/CPP/CXX with absolute paths.
> +.for t in CC CPP CXX
> +.if defined(${t}) && ${${t}:[#]} == 1 && ${${t}:M/*}
> +BUILD_${t}=    ${${t}:C|.*/||g}
> +CONFIGURE_ENV+=        ${t}="${BUILD_${t}}"
> +TOOLS_DIR+=    ${${t}:S|/${BUILD_${t}}$||}
> +.endif
> +.endfor
> +.if defined(TOOLS_DIR)
> +CONFIGURE_ARGS+=       --with-tools-dir="${TOOLS_DIR:u:S/ /:/g}"
> +.endif
> +
>  .include <bsd.port.pre.mk>
>
>  .if ${ARCH:Marmv6*} || ${ARCH} == "i386"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mNQHfKaixr2rYtAjzAC-aHQ1Yzfw2ec7e-bfrGjOTw2g>