ports/66679: Update port: games/tenebrae bento fix

Igor Pokrovsky tiamat at comset.net
Sun May 16 02:20:18 UTC 2004


>Number:         66679
>Category:       ports
>Synopsis:       Update port: games/tenebrae bento fix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 15 19:20:17 PDT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list