FreeBSD Bugzilla – Attachment 238762 Details for
Bug 268358
devel/jetbrains-clion: give clion a hint to find JAVA_HOME
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jetbrains-clion.diff
jetbrains-clion.diff (text/plain), 1.21 KB, created by
Dmitry Wagin
on 2022-12-13 15:21:29 UTC
(
hide
)
Description:
jetbrains-clion.diff
Filename:
MIME Type:
Creator:
Dmitry Wagin
Created:
2022-12-13 15:21:29 UTC
Size:
1.21 KB
patch
obsolete
>diff --git a/devel/jetbrains-clion/Makefile b/devel/jetbrains-clion/Makefile >index a1b37213d7..96254501be 100644 >--- a/devel/jetbrains-clion/Makefile >+++ b/devel/jetbrains-clion/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= clion > PORTVERSION= 2022.3 >+PORTREVISION= 1 > CATEGORIES= devel java > MASTER_SITES= https://download-cdn.jetbrains.com/cpp/ > PKGNAMEPREFIX= jetbrains- >@@ -22,11 +23,10 @@ RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \ > > USES= cpe python:run shebangfix > >+CPE_VENDOR= jetbrains > USE_JAVA= yes > JAVA_VERSION= 17+ > >-CPE_VENDOR= jetbrains >- > SHEBANG_FILES= bin/restart.py \ > plugins/python-ce/helpers/typeshed/scripts/generate_proto_stubs.sh > >@@ -34,6 +34,7 @@ NO_ARCH= yes > NO_ARCH_IGNORE= libjnidispatch.so > NO_BUILD= yes > SUB_FILES= ${PORTNAME} ${PORTNAME}.desktop pkg-message >+SUB_LIST= JAVA_HOME=${JAVA_HOME} > > WRKSRC= ${WRKDIR}/clion-${PORTVERSION} > >diff --git a/devel/jetbrains-clion/files/clion.in b/devel/jetbrains-clion/files/clion.in >index ad009afcad..99e504d2c2 100644 >--- a/devel/jetbrains-clion/files/clion.in >+++ b/devel/jetbrains-clion/files/clion.in >@@ -1,3 +1,6 @@ > #!/bin/sh > >+export CLION_JDK=${CLION_JDK:-"%%JAVA_HOME%%"} >+export SHELL="/bin/sh" >+ > exec "%%DATADIR%%/bin/clion.sh" "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dmitry.wagin
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 268358
:
238760
|
238762
|
238764