misc/178436: [PATCH] devel/gsoap doesn't work with make reinstall

Garrett Cooper yaneurabeya at gmail.com
Thu May 9 00:40:00 UTC 2013


>Number:         178436
>Category:       misc
>Synopsis:       [PATCH] devel/gsoap doesn't work with make reinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 09 00:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
devel/gsoap uses ${LN} instead of ${LN} -f which results in build failures when make reinstall is invoked on the port: 

devel/gsoap: ln: /usr/local/lib/gsoap/stdsoap2.cpp: File exists
devel/gsoap: *** [post-install] Error code 1
devel/gsoap: 
devel/gsoap: Stop in /usr/ports/devel/gsoap.
devel/gsoap: *** [/usr/ports/devel/gsoap/work/.install_done.gsoap._usr_local] Error code 1
devel/gsoap: 
devel/gsoap: Stop in /usr/ports/devel/gsoap.
devel/gsoap: *** [reinstall] Error code 1
devel/gsoap: 
devel/gsoap: Stop in /usr/ports/devel/gsoap.
** Wed May  8 23:11:36 2013: devel/gsoap failed in 3 seconds (status 256) **
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

>From 07799c10ab909b5c2bd368c0891f952d6739a98d Mon Sep 17 00:00:00 2001
From: Garrett Cooper <yanegomi at gmail.com>
Date: Wed, 8 May 2013 16:14:02 -0700
Subject: [PATCH 1/2] Fix make reinstall with devel/gsoap

Signed-off-by: Garrett Cooper <yanegomi at gmail.com>
---
 devel/gsoap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index b9bb340..f7787f3 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -53,6 +53,6 @@ post-patch:
 post-install:
 	@${MKDIR} ${PREFIX}/lib/gsoap
 	@${CP} ${WRKSRC}/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap
-	@${LN} ${PREFIX}/lib/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap/stdsoap2.cpp
+	@${LN} -f ${PREFIX}/lib/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap/stdsoap2.cpp
 
 .include <bsd.port.post.mk>
-- 
1.8.2



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


More information about the freebsd-bugs mailing list