3e4ed01146
- 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)
19 lines
748 B
C
19 lines
748 B
C
$FreeBSD$
|
|
|
|
--- ../../j2se/src/solaris/native/sun/awt/fontpath.c.orig Fri Dec 8 11:59:25 2006
|
|
+++ ../../j2se/src/solaris/native/sun/awt/fontpath.c Fri Dec 8 12:00:06 2006
|
|
@@ -495,10 +495,10 @@
|
|
char *ptr;
|
|
|
|
#if defined(__linux__) || defined(_ALLBSD_SOURCE)
|
|
- ptr = "/usr/X11R6/lib/X11/fonts/Type1:"
|
|
- "/usr/X11R6/lib/X11/fonts/TrueType:"
|
|
- "/usr/X11R6/lib/X11/fonts/tt:"
|
|
- "/usr/share/fonts/ja/TrueType";
|
|
+ ptr = "%%LOCALBASE%%/lib/X11/fonts/Type1:"
|
|
+ "%%LOCALBASE%%/lib/X11/fonts/TrueType:"
|
|
+ "%%LOCALBASE%%/lib/X11/fonts/tt:"
|
|
+ "%%LOCALBASE%%/fonts/ja/TrueType";
|
|
#elif defined( HEADLESS )
|
|
ptr = getSolarisFontLocations(env, (int) (noType1==JNI_TRUE));
|
|
#elif SCAN_FONT_DIRS
|