From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 9 14:10:12 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 626B316A4EE for ; Wed, 9 Aug 2006 14:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A25043D5A for ; Wed, 9 Aug 2006 14:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k79EABiP017537 for ; Wed, 9 Aug 2006 14:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k79EABMZ017536; Wed, 9 Aug 2006 14:10:11 GMT (envelope-from gnats) Resent-Date: Wed, 9 Aug 2006 14:10:11 GMT Resent-Message-Id: <200608091410.k79EABMZ017536@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Conor McDermottroe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82DD416A4DF for ; Wed, 9 Aug 2006 14:02:41 +0000 (UTC) (envelope-from conor@platinum.office.edgespace.net) Received: from bigben2.bytemark.co.uk (bigben2.bytemark.co.uk [80.68.81.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218C143D45 for ; Wed, 9 Aug 2006 14:02:40 +0000 (GMT) (envelope-from conor@platinum.office.edgespace.net) Received: from edgespace.vm.bytemark.co.uk ([80.68.90.21]) by bigben2.bytemark.co.uk with esmtp (Exim 4.52) id 1GAods-0008Gn-AY for FreeBSD-gnats-submit@freebsd.org; Wed, 09 Aug 2006 14:02:40 +0000 Received: from localhost ([127.0.0.1] helo=platinum.office.edgespace.net) by edgespace.vm.bytemark.co.uk with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.35 #1 (Debian)) id 1GAogW-0007U0-00 for ; Wed, 09 Aug 2006 15:05:24 +0100 Received: (from conor@localhost) by platinum.office.edgespace.net (8.13.6/8.13.6/Submit) id k79E2bNq071699; Wed, 9 Aug 2006 15:02:37 +0100 (IST) (envelope-from conor) Message-Id: <200608091402.k79E2bNq071699@platinum.office.edgespace.net> Date: Wed, 9 Aug 2006 15:02:37 +0100 (IST) From: Conor McDermottroe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101712: [MAINTAINER UPDATE] [PATCH] Fix the build for java/jflex X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Conor McDermottroe List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 14:10:12 -0000 >Number: 101712 >Category: ports >Synopsis: [MAINTAINER UPDATE] [PATCH] Fix the build for java/jflex >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 09 14:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Conor McDermottroe >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD platinum.office.edgespace.net 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #4: Tue Jun 20 17:03:05 IST 2006 root@platinum.office.edgespace.net:/usr/obj/usr/src/sys/PLATINUM i386 >Description: The build of JFlex needs to be bootstrapped with a pre-built version of JFlex. The previous method of handling this in the port didn't actually work, unfortunately, since I had a previous install of JFlex when I tested it I didn't notice. The patch below should remedy this situation. >How-To-Repeat: >Fix: diff -ruN jflex.orig/Makefile jflex/Makefile --- jflex.orig/Makefile Wed Aug 9 14:37:15 2006 +++ jflex/Makefile Wed Aug 9 14:57:04 2006 @@ -24,13 +24,17 @@ USE_ANT= yes BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= jar -MAKE_ENV+= CLASSPATH="${DISTDIR}/JFlex.jar:${DISTDIR}/java_cup.jar:${JAVALIBDIR}/junit.jar" .if !defined(NOPORTDOCS) PORTDOCS= * .endif SUB_FILES= jflex.sh + +post-extract: + ${MKDIR} ${WRKSRC}/tools + ${CP} ${DISTDIR}/JFlex.jar ${WRKSRC}/tools/ + ${CP} ${DISTDIR}/java_cup.jar ${WRKSRC}/tools/ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/jflex.sh ${PREFIX}/bin/jflex >Release-Note: >Audit-Trail: >Unformatted: