pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

troubleshooting BUILDLINK_PREFIX with fontconfig, expat and freetype2



I was building qt3-tools on my NetBSD 2.1 system that has Xorg available 
at /usr/X11R6. (I have had it there for over six months with many builds.)

The build failed due to missing -lfontconfig, -lexpat amd -lfreetype. I 
saw the three related .buildlink_*_done existed but were all size 0.

My workaround to continue build was to manually symlink there for 
buildlinks.

Notice the BUILDLINK_PREFIX below.

rainier:/usr/pkgsrc/x11/qt3-tools$ make show-var 
VARNAME=BUILDLINK_PREFIX.fontconfig
/usr/X11R6

rainier:/usr/pkgsrc/x11/qt3-tools$ make show-var VARNAME=BUILDLINK_PREFIX.expat
/usr

rainier:/usr/pkgsrc/x11/qt3-tools$ make show-var 
VARNAME=BUILDLINK_PREFIX.freetype2
/usr/X11R6

fontconfig and freetype2 are not in my /usr/X11R6. The libraries do not 
exist there. And libexpat is definitely not at /usr/lib.

Nothing related in my mk.conf.

For some reason, it thinks that these are USE_BUILTIN.foo as "yes".

I tried adding all types of testing to the builtin.mk files. But I can't 
find where it sets it to "yes".

Any ideas on where I can look next?


 Jeremy C. Reed




Home | Main Index | Thread Index | Old Index