Date: Wed, 9 Aug 2006 15:02:37 +0100 (IST) From: Conor McDermottroe <ports@mcdermottroe.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101712: [MAINTAINER UPDATE] [PATCH] Fix the build for java/jflex Message-ID: <200608091402.k79E2bNq071699@platinum.office.edgespace.net> Resent-Message-ID: <200608091410.k79EABMZ017536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608091402.k79E2bNq071699>