aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/azureus2
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2004-11-22 00:17:34 +0000
committerHerve Quiroz <hq@FreeBSD.org>2004-11-22 00:17:34 +0000
commitb16e00a0be988da937d8b19d90441224ebd87af8 (patch)
tree3a91717950ffd4dc1654c998ce2b50f11d086c37 /net-p2p/azureus2
parent1c0f86dbf425a882305bb1040cdcee6fa8da6c6d (diff)
downloadports-b16e00a0be988da937d8b19d90441224ebd87af8.tar.gz
ports-b16e00a0be988da937d8b19d90441224ebd87af8.zip
Fix a bug in the azureus startup script installed by the port: the regex used
to determine the ECLIPSE_SWT might have more matches than intended (e.g. org.eclipse.sdk.examples_3.0.0). PR: 74200 Submitted by: maintainer Reported by: Mark Evenson <evenson@panix.com>
Notes
Notes: svn path=/head/; revision=122111
Diffstat (limited to 'net-p2p/azureus2')
-rw-r--r--net-p2p/azureus2/Makefile2
-rw-r--r--net-p2p/azureus2/files/azureus2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/azureus2/Makefile b/net-p2p/azureus2/Makefile
index 6c8300618101..f8344843f0c8 100644
--- a/net-p2p/azureus2/Makefile
+++ b/net-p2p/azureus2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= azureus
PORTVERSION= 2.1.0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net-p2p/azureus2/files/azureus b/net-p2p/azureus2/files/azureus
index 8d45e55bbfda..d5c0ffaf198b 100644
--- a/net-p2p/azureus2/files/azureus
+++ b/net-p2p/azureus2/files/azureus
@@ -3,7 +3,7 @@
# $FreeBSD$
ECLIPSE_BASE=%%LOCALBASE%%/eclipse
-ECLIPSE_SWT=`find "${ECLIPSE_BASE}" -name '*swt.*' -type d | grep -e "plugins/org.eclipse.swt" | head -n 1`
+ECLIPSE_SWT=`find "${ECLIPSE_BASE}" -name '*swt.*' -type d | grep -e "plugins/org.eclipse.swt.[motif|gtk]" | head -n 1`
ECLIPSE_WS=`echo "${ECLIPSE_SWT}" | sed -e "s+^${ECLIPSE_BASE}/plugins/org.eclipse.swt.++" -e "s+_.*$++"`
ECLIPSE_SWT_JAR=${ECLIPSE_SWT}/ws/${ECLIPSE_WS}
LIB_PATH=${ECLIPSE_SWT}/os/freebsd/x86/