Bug 102481

Summary: [Patch] lang/f2c fails to reinstall
Product: Ports & Packages Reporter: fmysh
Component: Individual Port(s)Assignee: Boris Samorodov <bsam>
Status: Closed FIXED    
Severity: Affects Only Me CC: fmysh
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description fmysh 2006-08-24 16:50:19 UTC
	Once lang/f2c was installed, subsequent reinstallations fail
	because ${WRKSRC}/libf2c/libf2c.so has been renamed.

How-To-Repeat: 
# make install
# make deinstall
# make install
===>  Installing for f2c-20060506
===>   Generating temporary packing list
===>  Checking if lang/f2c already installed
install  -s -o root -g wheel -m 555 /usr/ports/lang/f2c/work/f2c/src/f2c /usr/local/bin
install  -o root -g wheel -m 444 /usr/ports/lang/f2c/work/f2c/src/f2c.h /usr/local/include
install  -o root -g wheel -m 444 /usr/ports/lang/f2c/work/f2c/src/f2c.1 /usr/local/man/man1
/bin/mv /usr/ports/lang/f2c/work/f2c/libf2c/libf2c.so /usr/ports/lang/f2c/work/f2c/libf2c/libf2c.so.2
mv: /usr/ports/lang/f2c/work/f2c/libf2c/libf2c.so: No such file or directory
*** Error code 1

Stop in /usr/ports/lang/f2c.
*** Error code 1

Stop in /usr/ports/lang/f2c.
Comment 1 Boris Samorodov freebsd_committer 2006-08-24 22:52:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Take.
Comment 2 Boris Samorodov freebsd_committer 2006-08-24 23:12:25 UTC
State Changed
From-To: open->closed

Another patch was committed. You can't simply delete ${MV} command since 
then ${LN} is broken. Hence the ${MV} command was moved to do-build: stage. 

Thanks for the report!