From owner-svn-ports-head@freebsd.org Mon Dec 14 23:02:51 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05B57A4344A; Mon, 14 Dec 2015 23:02:51 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9ED8150A; Mon, 14 Dec 2015 23:02:50 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBEN2nau074596; Mon, 14 Dec 2015 23:02:49 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBEN2n9c074595; Mon, 14 Dec 2015 23:02:49 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201512142302.tBEN2n9c074595@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Mon, 14 Dec 2015 23:02:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403745 - head/java/openjdk8 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2015 23:02:51 -0000 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 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 .if ${ARCH:Marmv6*} || ${ARCH} == "i386"