ports/102481: [Patch] lang/f2c fails to reinstall

TAOKA Fumiyoshi fmysh at iijmio-mail.jp
Thu Aug 24 15:50:22 UTC 2006


>Number:         102481
>Category:       ports
>Synopsis:       [Patch] lang/f2c fails to reinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 24 15:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     TAOKA Fumiyoshi
>Release:        
>Organization:
>Environment:
>Description:
	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.
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/f2c/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	10 Aug 2006 07:37:31 -0000	1.12
+++ Makefile	24 Aug 2006 15:17:08 -0000
@@ -63,7 +63,7 @@
 .endif
 	${INSTALL_DATA} ${WRKSRC}/src/f2c.h ${PREFIX}/include
 	${INSTALL_MAN} ${WRKSRC}/src/f2c.1 ${MAN1PREFIX}/man/man1
-	${MV} ${WRKSRC}/libf2c/libf2c.so ${WRKSRC}/libf2c/libf2c.so.2
+	-${MV} ${WRKSRC}/libf2c/libf2c.so ${WRKSRC}/libf2c/libf2c.so.2
 	${INSTALL_DATA} ${WRKSRC}/libf2c/libf2c.a ${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/libf2c/libf2c.so.2 ${PREFIX}/lib
 	${LN} -sf libf2c.so.2 ${PREFIX}/lib/libf2c.so

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list