I have a non-multilib system. xorg-x11 installs in /usr/lib64 which makes pkgconfig not work, etc. $ epm -q xorg-x11 xorg-x11-6.8.2-r2 $ epm -ql xorg-x11 | grep lib64 | head /usr/lib64/X11/fs /usr/lib64/X11/etc/xmodmap.std /usr/lib64/X11/etc/Xinstall.sh /usr/lib64/X11/etc/sun.termcap /usr/lib64/X11/etc/sun.terminfo /usr/lib64/X11/twm /usr/lib64/X11/xdm /usr/lib64/X11/xkb/README.config /usr/lib64/X11/xkb/xkbcomp /usr/lib64/X11/xkb/geometry.dir $ pkg-config --list-all | grep xft (blank) $ epm -ql xorg-x11 | grep xft.pc /usr/lib64/pkgconfig/xft.pc $ emerge --info Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.3.4, glibc-2.3.5-r0, 2.6.10-gentoo-r7 x86_64) ================================================================= System uname: 2.6.10-gentoo-r7 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/fs /etc/X11/gdm /etc/X11/gtk /etc/X11/lbxproxy /etc/X11/proxymngr /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/twm /etc/X11/xdm /etc/X11/xinit /etc/X11/xserver /etc/X11/xsm /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/imlib /etc/init.d /etc/pango /etc/sound /etc/terminfo /etc/vfs /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.zko.hp.com/sources http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/opt/agriffis/portage" SYNC="rsync://gentoo.zko.hp.com/gentoo-portage" USE="amd64 X acpi alsa arts berkdb bitmap-fonts crypt cscope curl esd fam font-server fortran gdbm gif gpm gtk guile imlib ipv6 java jp2 jpeg kde lzw lzw-tiff motif mozilla mozsvg mp3 multilib ncurses nls ogg opengl oss pam perl png python qt readline ruby slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
just because you have a non-multilib system, that doesn't mean xorg shouldn't install to /usr/lib64. You're building 64bit objects, so they should go to /usr/lib64. It's the expected behaviour. Concerning the pkg-config issue: Currently it's enough to re-merge pkg-config, because newer versions behave like this: PKG_CONFIG_PATH A colon-separated (on Windows, semicolon-separated) list of directories to search for .pc files. The default directory will always be searched after searching the path; the default is lib- dir/pkgconfig where libdir is the libdir where pkg-config was installed.