diff --git a/general/prog/jdk.xml b/general/prog/jdk.xml
index 9f42c69e14..e0b7224485 100644
--- a/general/prog/jdk.xml
+++ b/general/prog/jdk.xml
@@ -111,7 +111,7 @@
+ url="&patch-root;/jdk-&jdk-src-version;-motif_fixes-1.patch"/>
- (only required if building against )
+ (only required if building against or
+ )
JDK Dependencies
Required (to Build JDK from Source)
- X ( or ),
+ X (, ,
+ or ),
,
,
,
@@ -227,6 +229,12 @@ done
do patch -Np1 -i ${PATCH}
done
+ If your X Window System is installed in any prefix other than
+ /usr/X11R6, adjust as necessary and
+ execute the following command:
+
+find . -type f -exec sed -i 's@/usr/X11R6@[/usr]@g' {} \;
+
Set/unset some variables which affect the build:
export ALT_BOOTDIR="$JAVA_HOME" &&