aboutsummaryrefslogtreecommitdiffstats
path: root/java/jgrapht
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2008-09-02 16:13:30 +0800
committerhq <hq@FreeBSD.org>2008-09-02 16:13:30 +0800
commit456316e00c8a8c105c82b12d50fd0ec81c082307 (patch)
tree3be24906ffded545509079d31967aa88db56c15c /java/jgrapht
parent7d87535ea99bc75573745eceebe044ec6f25f437 (diff)
downloadfreebsd-ports-gnome-456316e00c8a8c105c82b12d50fd0ec81c082307.tar.gz
freebsd-ports-gnome-456316e00c8a8c105c82b12d50fd0ec81c082307.tar.zst
freebsd-ports-gnome-456316e00c8a8c105c82b12d50fd0ec81c082307.zip
Fix build with Java 1.6
Reported by: pointyhat
Diffstat (limited to 'java/jgrapht')
-rw-r--r--java/jgrapht/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jgrapht/Makefile b/java/jgrapht/Makefile
index c155b7e64be9..5ac366cc6293 100644
--- a/java/jgrapht/Makefile
+++ b/java/jgrapht/Makefile
@@ -51,7 +51,7 @@ pre-fetch:
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-jdk${JAVA_PORT_VERSION:C/([0-9]\.[0-9])\.[0-9]/\1/}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-jdk${JAVA_PORT_VERSION:C/1\.4\.[0-9]/1.4/:C/1\.[56]\.[0-9]/1.5/}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."