Bug 72856

Summary: graphics/png install fails which installing user sets LD_LIBRARY_PATH.
Product: Ports & Packages Reporter: maya <maya>
Component: Individual Port(s)Assignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description maya 2004-10-19 03:40:24 UTC
I'm using FreeBSD-4.10 and I'm setting LD_LIBRARY_PATH
and I use portupgrade when I update png from the ports.

Well, I tryed to update png by "portupgrade -R graphics/png",
and install fails occur because pngtest not reffers ./libpng.so but 
it reffers /usr/local/lib/libpng.so(it is old version of one).
This version difference cause error.

Attached patch force specify LD_LIBRARY_PATH to . 
when pngtest is runing.
Please apply it if you look upon this as good.

How-To-Repeat: 0. Old version of png was installed.
1. # sh && export LD_LIBRARY_PATH="/usr/local/lib:/usr/lib"
2. # cd /usr/ports/graphics/png && make
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-10-19 15:38:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2004-10-20 20:14:04 UTC
State Changed
From-To: open->closed

pngtest linked statically now