> On 2018-04-13, at 19:02, macpo...@parvis.nl wrote: > > port -dv install pango +quartz +x11 > > i see : pango: checking which cairo font backends could be used... quartz > freetype --> NO fontconfig > > in the Cairo port are several andbales and disables but nothing for > fontconfig. could that be my problem?
Nope. one step further: for fontconfig cairo needs variant +opengl so it becomes cairo +opengl +quartz +x11. then pango complains in configure: ----- configure:18611: checking for FcWeightFromOpenTypeDouble configure:18611: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall -I/opt/macp2/include -L/opt/macp2/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -L/opt/macp2/lib -lfontconfig -lfreetype >&5 Undefined symbols for architecture x86_64: "_FcWeightFromOpenTypeDouble", referenced from: _main in conftest-b4df1e.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ----- note -lfontconfig i installed fontconfig -universal.