Hops Error, Line 21, alcoholi.c wrote:
> This is how I've been setting my PKG_CONFIG_PATH
>
> for pfix in /usr \
> "${GTK_PREFIX}" \
> "${OTHER_PACKAGE_PREFIX}" \
> "${XORG_PREFIX}" \
> ; do
> if [ -z "`echo $PKG_CONFIG_PATH | grep $pfix`" ]; then
> [ -n "${PKG_CONFIG_PATH}" ] && PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:"
> export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${pfix}/lib/pkgconfig"
> fi
> done
I'd recommend creating a file in /etc/profile.d/ as demonstrated in BLFS
"The Bash Shell Startup Files". You could do something like:
cat > /etc/profile.d/extrapaths.sh << "EOF"
if [ -d /usr/local/lib/pkgconfig ] ; then
pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
fi
# add other paths as desired
EOF
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page