ports/101712: [MAINTAINER UPDATE] [PATCH] Fix the build for java/jflex
Conor McDermottroe
ports at mcdermottroe.com
Wed Aug 9 14:10:12 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list