Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 14:09:14 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39365: [MAINTAINER UPDATE] net/rsync: Fix after ${REINPLACE_CMD} commit
Message-ID:  <20020616120914.8B38222C@unsane.de>

next in thread | raw e-mail | index | archive | help

>Number:         39365
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] net/rsync: Fix after ${REINPLACE_CMD} commit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 16 05:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD galore.unsane.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 12:43:32 CEST 2002 root@galore.unsane.de:/usr/obj/usr/src/sys/GALORE_OB i386


>Description:

Fix error on -current. sed(1) fails if backup file already exists.

Reported by bento
-> http://bento.freebsd.org/errorlogs/5-latest/rsync-2.5.5_1.log

Regards,
         Olli
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rsync/Makefile,v
retrieving revision 1.71
diff -u -r1.71 Makefile
--- Makefile	2002/06/14 07:21:10	1.71
+++ Makefile	2002/06/16 12:03:29
@@ -47,9 +47,11 @@
 pre-configure:
 	@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g'  \
 		${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
+	@${RM} ${WRKSRC}/rsync.h.bak
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
 		${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
 .if defined(WITH_SSH)
+	@${RM} ${WRKSRC}/rsync.h.bak
 	@${REINPLACE_CMD} -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020616120914.8B38222C>