From owner-svn-ports-head@FreeBSD.ORG Wed Oct 31 22:07:56 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8F9F1DF; Wed, 31 Oct 2012 22:07:56 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D14518FC12; Wed, 31 Oct 2012 22:07:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9VM7uIN043733; Wed, 31 Oct 2012 22:07:56 GMT (envelope-from glewis@svn.freebsd.org) Received: (from glewis@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9VM7uEH043731; Wed, 31 Oct 2012 22:07:56 GMT (envelope-from glewis@svn.freebsd.org) Message-Id: <201210312207.q9VM7uEH043731@svn.freebsd.org> From: Greg Lewis Date: Wed, 31 Oct 2012 22:07:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306769 - head/java/openjdk7 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.14 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: Wed, 31 Oct 2012 22:07:57 -0000 Author: glewis Date: Wed Oct 31 22:07:56 2012 New Revision: 306769 URL: http://svn.freebsd.org/changeset/ports/306769 Log: . Introduce a DEBUG option and default it to unset. For now the .debuginfo files are only installed if the option is set. In future it will likely also mean to enable the debug and/or fastdebug build. PR: 172627 Feature safe: yes Modified: head/java/openjdk7/Makefile Modified: head/java/openjdk7/Makefile ============================================================================== --- head/java/openjdk7/Makefile Wed Oct 31 21:55:25 2012 (r306768) +++ head/java/openjdk7/Makefile Wed Oct 31 22:07:56 2012 (r306769) @@ -7,6 +7,7 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \ http://download.java.net/jaxp/1.4.5/:jaxp \ @@ -34,8 +35,9 @@ USE_ICONV= yes USE_XORG+= x11 xext xi xrender xt xtst MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= POLICY TZUPDATE +OPTIONS_DEFINE= DEBUG POLICY TZUPDATE OPTIONS_DEFAULT= POLICY TZUPDATE +DEBUG_DESC= Enable extra debugging info POLICY_DESC= Install the Unlimited Strength Policy Files TZUPDATE_DESC= Update the time zone data @@ -111,6 +113,10 @@ BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk7 \ .include +.if empty(PORT_OPTIONS:MDEBUG) +MAKE_ENV+= ALT_OBJCOPY="/nonexistent" +.endif + .if ${PORT_OPTIONS:MTZUPDATE} RUN_DEPENDS+= ${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo .endif