aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index 42c0c9e0842..f2612ba8708 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -48,9 +48,9 @@ PLIST_SUB+= MOTIF:=""
ECLIPSE_WS= gtk
PLIST_SUB+= GTK:=""
PLIST_SUB+= MOTIF:="@comment "
-.if defined(WITH_MOZILLA) && ${WITH_MOZILLA} == "firefox"
-BUILD_DEPENDS+= firefox:${PORTSDIR}/www/firefox
-BROWSER= firefox
+.if defined(WITH_MOZILLA)
+BROWSER= ${WITH_MOZILLA}
+BUILD_DEPENDS+= ${BROWSER}:${PORTSDIR}/www/${BROWSER}
.else
BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla
BROWSER= mozilla