While you're at it, we'd greatly appreciate if you'd also open a PR and optionally submit a patch for updating java/intellij-ultimate 

I failed to compile. See the error log at https://gist.github.com/ykla/6b8dd4fff37251b08184694b19582383. Due to its length, the default page will not fully display. Please click "View the full file" at the top.It looks like the patch was updated to 2024.3.3 and that patch worked for me. Please give that patch a whirl and update the bug report.
In 2025Q1, I was able to compile successfully, but it seems that the corresponding files were not installed.Hmm, dumb question, what is your /usr/ports hash? Can you checkout 2025Q1 and do a pull? I'm not an expert, but I just uninstalled and rebuilt 2024.3.3, so I'm trying to figure out why it isn't working for you and why it is for me.
root@ykla:/usr/ports/java/intellij # pkg info -l intellij
intellij-2024.3.3:
/usr/local/share/licenses/intellij-2024.3.3/APACHE20
/usr/local/share/licenses/intellij-2024.3.3/LICENSE
/usr/local/share/licenses/intellij-2024.3.3/catalog.mk
nothing.Interesting, are you able to launch intellij with "idea"? It should be at /usr/local/bin/idea.
I am usingIn 2025Q1, I was able to compile successfully, but it seems that the corresponding files were not installed.
root@ykla:/usr/ports/java/intellij # pkg info -l intellij
intellij-2024.3.3:
/usr/local/share/licenses/intellij-2024.3.3/APACHE20
/usr/local/share/licenses/intellij-2024.3.3/LICENSE
/usr/local/share/licenses/intellij-2024.3.3/catalog.mk
sudo git -C /usr/ports reset --hard HEAD
sudo git -C /usr/ports pull
BATCH=yes sudo make clean
cd /usr/ports/java/intellij
sudo rm -rf work
sudo git apply intellij.patch
BATCH=yes sudo make install
Observing https://bz-attachments.freebsd.org/attachment.cgi?id=257847, almost everything starts with "-", which means almost all files have been deleted.Strange, if I run that cmd, I see much more.
I install intellij through a script, perhaps try cleaning ports first like what I'm doing in the script?
Before you apply the patch, /usr/ports should be clean. If you cd to /usr/ports and run git status, it should come back clean, no changes.
git clone https://git.FreeBSD.org/ports.git /usr/ports
root@ykla:/usr/ports # git apply /home/ykla/1111.patch
error: corrupt patch at line 2430
root@ykla:/usr/ports # cd java/intellij
root@ykla:/usr/ports/java/intellij # git apply /home/ykla/1111.patch
error: corrupt patch at line 2430
root@ykla:/usr/ports # patch -p1 < /home/ykla/1111.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/Makefile b/java/intellij/Makefile
|index e28baca5767b..cf290093663c 100644
|--- a/java/intellij/Makefile
|+++ b/java/intellij/Makefile
--------------------------
Patching file java/intellij/Makefile using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 14.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/distinfo b/java/intellij/distinfo
|index 67563b0baa51..e0af7b377042 100644
|--- a/java/intellij/distinfo
|+++ b/java/intellij/distinfo
--------------------------
Patching file java/intellij/distinfo using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/pkg-plist b/java/intellij/pkg-plist
|deleted file mode 100644
|index 321bd373bfbb..000000000000
|--- a/java/intellij/pkg-plist
|+++ /dev/null
--------------------------
Patching file java/intellij/pkg-plist using Plan A...
Empty context always matches.
Hunk #1 succeeded at 0 with fuzz 1.
done
Yup, I was just notified. Hopefully it gets some traction.I selected the last patch for asking maintainer approval to create some noise.
I just tested the patch at https://bz-attachments.freebsd.org/attachment.cgi?id=258357 — it works correctly.Yup, I was just notified. Hopefully it gets some traction.
pkg install openjdk21
), downloaded community edition tar.gz for linux, executed bin/idea.sh
and it works