Bug 102481 - [Patch] lang/f2c fails to reinstall
Summary: [Patch] lang/f2c fails to reinstall
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 16:50 UTC by fmysh
Modified: 2006-08-24 23:15 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (702 bytes, patch)
2006-08-24 16:50 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 2006-08-24 22:52:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Take.
Comment 2 Boris Samorodov freebsd_committer freebsd_triage 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!