===> Installing for tkimg-1.3.20080116nb5
=> Generating pre-install file lists
=> Creating installation directories
rm -f Img.dylib
clang -dynamiclib -pipe -Os -I/opt/pkg/include  -Os -Wall -fno-common -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include  -Wl,-single_module imgInit.o tkimgIO.o imgPNG.o  imgJPEG.o  imgTIFF.o  imgPS.o  imgTGA.o  imgXPM.o  imgPCX.o  imgPPM.o  imgGIF.o  imgBMP.o  imgICO.o  imgXBM.o  imgSGI.o  imgSUN.o  imgWindow.o -L/opt/pkg/lib -prebind -headerpad_max_install_names -Wl,-search_paths_first -L/opt/pkg/lib -ltclstub86  -L/opt/pkg/lib -ltkstub86  -ltiff -ljpeg -lpng -lz -lm -o Img.dylib
ld: warning: option -prebind is obsolete and being ignored
Undefined symbols for architecture arm64:
  "_XGetImage", referenced from:
      _ObjRead in imgWindow.o
  "_XParseColor", referenced from:
      _CommonRead in imgXPM.o
  "_XQueryColors", referenced from:
      _ObjRead in imgWindow.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
bmake: stopped making "install" in /Users/pbulk/build/graphics/tk-tkimg/work/tkimg-1.3
*** Error code 1

Stop.
bmake[1]: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/tk-tkimg
*** Error code 1

Stop.
bmake: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/tk-tkimg