svn commit: r306769 - head/java/openjdk7
Greg Lewis
glewis at FreeBSD.org
Wed Oct 31 22:07:57 UTC 2012
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 <bsd.port.options.mk>
+.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
More information about the svn-ports-all
mailing list