Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 22:25:02 -0400
From:      Eitan Adler <eadler@freebsd.org>
To:        Greg Lewis <glewis@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r306769 - head/java/openjdk7
Message-ID:  <CAF6rxgkERQAdKBz43ru6Q8KeiG2T-gpmupyTr_0RzmzwGBs5YQ@mail.gmail.com>
In-Reply-To: <201210312207.q9VM7uEH043731@svn.freebsd.org>
References:  <201210312207.q9VM7uEH043731@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31 October 2012 18:07, Greg Lewis <glewis@freebsd.org> wrote:
> 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  http://www.FreeBSD.org/cgi/query-pr.cgi?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 <bsd.port.options.mk>
>
> +.if empty(PORT_OPTIONS:MDEBUG)
> +MAKE_ENV+=     ALT_OBJCOPY="/nonexistent"
> +.endif

Perhaps use ${NONEXISTENT} ?


-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams



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