Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 06:35:58 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325372 - head/java/openjdk7
Message-ID:  <201308260635.r7Q6ZwGd051092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Aug 26 06:35:58 2013
New Revision: 325372
URL: http://svnweb.freebsd.org/changeset/ports/325372

Log:
  fix build without gcc in base
  
  Always use gcc whatever the default compiler is to build openjdk (it needs gcc -dumpspecs)
  Define HOST_CC to ${CC} to make avoir direct call to "/usr/bin/gcc"

Modified:
  head/java/openjdk7/Makefile

Modified: head/java/openjdk7/Makefile
==============================================================================
--- head/java/openjdk7/Makefile	Mon Aug 26 04:19:48 2013	(r325371)
+++ head/java/openjdk7/Makefile	Mon Aug 26 06:35:58 2013	(r325372)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	openjdk7
-# Date created:				2 January 2010
-# Whom:					Greg Lewis <glewis@FreeBSD.org>
-#
+# Created by: Greg Lewis <glewis@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	openjdk
 PORTVERSION=	${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER}
@@ -29,10 +25,11 @@ LICENSE=	GPLv2
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_ZIP=	yes
-USE_GMAKE=	yes
-USES=		iconv
+USES=		iconv gmake
 USE_XORG+=	x11 xext xi xrender xt xtst
+MAKE_ARGS=	CC=${CC} CXX=${CXX} HOST_CC=${CC}
 MAKE_JOBS_UNSAFE=	yes
+USE_GCC=	any
 
 OPTIONS_DEFINE=		DEBUG POLICY TZUPDATE
 OPTIONS_DEFAULT=	POLICY TZUPDATE



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