freebsd-ports/java/jdk15/files/patch-j2se::gtk::GTKLookAndFeel.java
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

15 lines
703 B
Java

$FreeBSD$
--- ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java.orig Sun Dec 10 21:53:38 2006
+++ ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java Sun Dec 10 21:54:16 2006
@@ -1387,8 +1387,8 @@
String[] dirs = new String[] {
userHome + "/.themes",
System.getProperty("swing.gtkthemedir"),
- "/usr/X11R6/share/gnome/themes", // FreeBSD
- "/usr/X11R6/share/themes", // FreeBSD
+ "%%LOCALBASE%%/share/gnome/themes", // FreeBSD
+ "%%LOCALBASE%%/share/themes", // FreeBSD
"/usr/share/themes" // Debian/Redhat/Solaris/SuSE
};