From igor@doom.homeunix.org  Sat May 15 19:17:43 2004
Return-Path: <igor@doom.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0270816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2004 19:17:43 -0700 (PDT)
Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5E12D43D49
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2004 19:17:40 -0700 (PDT)
	(envelope-from igor@doom.homeunix.org)
Received: from [213.172.13.230] (helo=doom.homeunix.org)
	by voodoo.oberon.net with esmtp (TLSv1:AES256-SHA:256)
	(Exim 4.34; FreeBSD)
	id 1BPBDi-000JR8-G2
	for FreeBSD-gnats-submit@freebsd.org; Sun, 16 May 2004 04:17:44 +0200
Received: from doom.homeunix.org (localhost [127.0.0.1])
	by doom.homeunix.org (8.12.11/8.12.11) with ESMTP id i4G2HKt1000707
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 May 2004 06:17:21 +0400 (MSD)
	(envelope-from igor@doom.homeunix.org)
Received: (from igor@localhost)
	by doom.homeunix.org (8.12.11/8.12.11/Submit) id i4G2HKv6000706;
	Sun, 16 May 2004 06:17:20 +0400 (MSD)
	(envelope-from igor)
Message-Id: <200405160217.i4G2HKv6000706@doom.homeunix.org>
Date: Sun, 16 May 2004 06:17:20 +0400 (MSD)
From: Igor Pokrovsky <tiamat@comset.net>
Reply-To: Igor Pokrovsky <tiamat@comset.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: games/tenebrae bento fix
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66679
>Category:       ports
>Synopsis:       Update port: games/tenebrae bento fix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 15 19:20:17 PDT 2004
>Closed-Date:    Sun May 16 00:57:59 PDT 2004
>Last-Modified:  Sun May 16 00:57:59 PDT 2004
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-BETA FreeBSD 4.10-BETA #0: Thu Apr 15 06:38:00 MSD 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Use ${REINPLACE_CMD} instead of ${PERL} to translate files.
	
>How-To-Repeat:
	
>Fix:

	

--- tenebrae.diff begins here ---
diff -ru /usr/ports/games/tenebrae/Makefile tenebrae/Makefile
--- /usr/ports/games/tenebrae/Makefile	Wed Mar 17 12:30:31 2004
+++ tenebrae/Makefile	Wed May  5 06:23:42 2004
@@ -22,6 +22,7 @@
 USE_GL=		yes
 USE_XLIB=	yes
 USE_SDL=	yes
+USE_REINPLACE=	yes
 ONLY_FOR_ARCHS=	i386
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_0
@@ -31,7 +32,7 @@
 		SDL_CONFIG="${SDL_CONFIG}"
 
 pre-patch:
-	@${PERL} -pi -e 's|\r||g' `${FIND} ${WRKSRC} -type f`
+	@${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g" `${FIND} ${WRKSRC} -type f`
 
 pre-build:
 	@${LN} -sf ${WRKSRC}/linux/Makefile.i386linux ${WRKSRC}/linux/Makefile
--- tenebrae.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sun May 16 00:57:53 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66679 
>Unformatted:
