ports/devel/netbeans/patches/patch-bin_netbeans

25 lines
767 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
- remove hidden bash dependency
Index: bin/netbeans
--- bin/netbeans.orig
+++ bin/netbeans
@@ -132,10 +132,6 @@ launchNbexec() {
done | head -n 1`
sh=sh
# #73162: Ubuntu uses the ancient Bourne shell, which does not implement trap well.
- if [ -x /bin/bash ]
- then
- sh=/bin/bash
- fi
if [ "${founduserdir}" = "yes" ]; then
exec $sh "$nbexec" "$@"
else
@@ -157,6 +153,7 @@ case "`uname`" in
'"-J-Xdock:icon=$basedir/nb/netbeans.icns"' \
--branding nb \
--clusters '"$netbeans_clusters"' \
+ -J-Dawt.useSystemAAFontSettings=lcd \
-J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \
${netbeans_default_options} \
'"$@"'