From owner-svn-ports-head@FreeBSD.ORG Sun Mar 3 05:08:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D95A4121; Sun, 3 Mar 2013 05:08:45 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CCBDD3F2; Sun, 3 Mar 2013 05:08:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r2358jw0092817; Sun, 3 Mar 2013 05:08:45 GMT (envelope-from glewis@svn.freebsd.org) Received: (from glewis@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r2358jvS092816; Sun, 3 Mar 2013 05:08:45 GMT (envelope-from glewis@svn.freebsd.org) Message-Id: <201303030508.r2358jvS092816@svn.freebsd.org> From: Greg Lewis Date: Sun, 3 Mar 2013 05:08:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313327 - 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: Sun, 03 Mar 2013 05:08:45 -0000 Author: glewis Date: Sun Mar 3 05:08:45 2013 New Revision: 313327 URL: http://svnweb.freebsd.org/changeset/ports/313327 Log: . Use gpatch for patching on older (7.x) versions of FreeBSD. PR: 175829 Submitted by: Nobuhiro Ban Modified: head/java/openjdk7/Makefile Modified: head/java/openjdk7/Makefile ============================================================================== --- head/java/openjdk7/Makefile Sun Mar 3 04:56:14 2013 (r313326) +++ head/java/openjdk7/Makefile Sun Mar 3 05:08:45 2013 (r313327) @@ -135,6 +135,11 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/bootstrap-openjdk .endif +.if ${OSVERSION} < 800000 +PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch +PATCH= gpatch +.endif + post-patch: @${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp