The port openjdk6-b22_4 needs X11/extensions/shape.h and
X11/extensions/XTest.h files and fails to build without them.
shape.h is installed with libXext-1.1.1 and newer only,
XTest.h is installed with libXtst-1.1.0 and newer only too.
The port should check existance of files and try to depend
on needed ports, not break with obscure compile errors.
Try to build openjdk6-b22_4 with libXext-1.0.3 or libXext-1.0.5
Over to maintainer (via the GNATS Auto Assign Tool)
I'll take it.
Although we do not support out-of-sync ports build, missing
x11/libXext from build dependencies is actually a valid concern.
I'll fix it with b24 update.
xext was added to USE_XORG with b24 update. Thanks!