Skip to content

Commit

Permalink
databases/sqldeveloper: make depends from java/openjfx14 mandatory
Browse files Browse the repository at this point in the history
The SQLDeveloper distribution has built-in OpenJFX for other OSes,
and it can work with it on FreeBSD (by forcing the path to one of them),
but not all functions work.
We have very little reason to keep this option, then we have a fully
functional port java/openjfx14.

Approved by:	arrowd (mentor)
  • Loading branch information
VVD committed Jan 12, 2024
1 parent c906456 commit a011d7a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions databases/sqldeveloper/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sqldeveloper
DISTVERSION= 23.1.1.345.2114
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONSUFFIX= -no-jre
CATEGORIES= databases java
# https://www.oracle.com/tools/downloads/sqldev-downloads.html
Expand All @@ -15,7 +15,8 @@ WWW= https://www.oracle.com/database/technologies/appdev/sqldeveloper-landing.h
LICENSE_NAME= OTN
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror

RUN_DEPENDS= bash:shells/bash
RUN_DEPENDS= openjfx14>=0:java/openjfx14 \
bash:shells/bash

USES= gnome zip
USE_JAVA= yes
Expand All @@ -30,18 +31,7 @@ SUB_LIST= JAVA_HOME=${JAVA_HOME} \

WRKSRC= ${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE= OPENJFX14
OPTIONS_DEFAULT= OPENJFX14
OPENJFX14_DESC= Use JavaFX 14 (can work without it with some limitations)
OPENJFX14_RUN_DEPENDS= openjfx14>=0:java/openjfx14

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MOPENJFX14}
OPENJFX14_JVM_OPTIONS= -J--module-path=${LOCALBASE}/openjfx14/lib \
-J--add-modules=javafx.swing,javafx.web
.endif
SUB_LIST+= OPENJFX14_JVM_OPTIONS="${OPENJFX14_JVM_OPTIONS}"
SUB_LIST+= OPENJFX14_JVM_OPTIONS="-J--module-path=${LOCALBASE}/openjfx14/lib -J--add-modules=javafx.swing,javafx.web"

.include <bsd.port.pre.mk>

Expand Down

0 comments on commit a011d7a

Please sign in to comment.