Unable to build webkit-gtk2 after updating ICU
Luciano Mannucci
luciano at vespaperitivo.it
Thu Apr 30 11:09:28 UTC 2015
On Thu, 30 Apr 2015 06:45:30 -0400
Carmel <carmel_ny at outlook.com> wrote:
> I changed the system path because I use "openssl" from ports. I want to make
> sure that, that is the version used. Is there some way I can insure that the
> "ports" version of "openssl" is used without changing the "path" environment?
Not that sure that you can.
Personally, I prefer leaving PATH switched to the ports (/usr/local/bin
first) and I control ld+ar+whatsoever via a little script like that:
luke at mordeus:~ % cat switchld
#!/bin/sh
DIST=/usr/bin/ld
ADIST=/usr/bin/ar
RDIST=/usr/bin/ranlib
MIST=/usr/bin/ld.dist
AMIST=/usr/bin/ar.dist
RMIST=/usr/bin/ranlib.dist
[ "$1" = "-t" ] && {
[ -x "$DIST" ] && echo $DIST || echo Should be in /usr/local/bin
exit 0
}
[ -x "$DIST" ] && mv "$DIST" "$MIST" || mv "$MIST" "$DIST"
[ -x "$ADIST" ] && mv "$ADIST" "$AMIST" || mv "$AMIST" "$ADIST"
[ -x "$RDIST" ] && mv "$RDIST" "$RMIST" || mv "$RMIST" "$RDIST"
exit 0
Cheers,
luciano.
--
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy)
\ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
X AGAINST HTML MAIL / E-MAIL: posthamster at sublink.sublink.ORG
/ \ AND POSTINGS / WWW: http://www.lesassaie.IT/
More information about the freebsd-ports
mailing list