Subject: Re: pkg/33710: pango conflicts with freetype-lib
To: None <wiz@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Casey Carter <rockear@hive-mind.net>
List: pkgsrc-bugs
Date: 06/13/2006 17:55:01
The following reply was made to PR pkg/33710; it has been noted by GNATS.
From: Casey Carter <rockear@hive-mind.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/33710: pango conflicts with freetype-lib
Date: Tue, 13 Jun 2006 10:51:13 -0700
> Do you know what in particular was in your .profile that caused this?
I've solved the mystery. I use ksh93 as a login shell, and these lines were
in my .profile:
ENV=~/.kshrc
export ENV
So every subshell pulls in .kshrc, which contains a custom $PATH:
PATH=${HOME}/bin
PATH=${PATH}:/usr/local/bin:/usr/local/sbin
PATH=${PATH}:/usr/pkg/bin:/usr/pkg/sbin
PATH=${PATH}:/usr/bin:/usr/sbin
PATH=${PATH}:/bin:/sbin
PATH=${PATH}:/usr/pkg/xorg/bin
PATH=${PATH}:/usr/games
This overrides any special considerations the pkgsrc build system makes, and
things go haywire. In fact this was breaking any package build that relies
on a USE_TOOLS directive, such as www/firefox.
Removing the two lines from my .profile causes everything to work properly.
Thanks for your courteous assistance!