Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 10:08:43 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39790: ports/x11-fm  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020624100745.D6459-100000@ivymike.satan.kom>

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

>Number:         39790
>Category:       ports
>Synopsis:       ${PERL} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 10:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-dfm begins here ---
--- Makefile.orig	Tue Jul 24 05:39:40 2001
+++ Makefile	Mon Jun 24 10:02:53 2002
@@ -14,6 +14,7 @@

 WRKSRC=		${WRKDIR}/${PORTNAME}

+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_XPM=	yes
 USE_IMLIB=	yes
@@ -28,7 +29,7 @@
 		NO_WARRANTY README START TESTED TODO

 pre-patch:
-	@${PERL} -pi -e \
+	@${REINPLACE_CMD} -e \
 		's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

 post-install:
--- patch-dfm ends here ---

--- patch-endeavour begins here ---
--- Makefile.orig	Sat Apr 13 16:56:10 2002
+++ Makefile	Mon Jun 24 10:03:49 2002
@@ -13,6 +13,7 @@

 MAINTAINER=	ports@FreeBSD.org

+USE_REINPLACE=	yes
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_XPM=	yes
@@ -27,8 +28,8 @@
 		LIB_DIRS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

 pre-patch:
-	@${PERL} -pi -e 's|make |\$$\(MAKE\) |g' ${WRKSRC}/Makefile
-	@find ${WRKSRC}/endeavour -type f | xargs ${PERL} -pi -e \
+	@${REINPLACE_CMD} -e 's|make |\$$\(MAKE\) |g' ${WRKSRC}/Makefile
+	@find ${WRKSRC}/endeavour -type f | xargs ${REINPLACE_CMD} -e \
 		's|#include <malloc.h>||g ; \
 		 s|#include <asm/types.h>||g ; \
 		 s|#include <sys/bitypes.h>||g ; \
--- patch-endeavour ends here ---

--- patch-mtoolsfm begins here ---
--- Makefile.orig	Sat May  4 14:41:22 2002
+++ Makefile	Mon Jun 24 10:05:03 2002
@@ -16,6 +16,7 @@

 RUN_DEPENDS=	mtools:${PORTSDIR}/emulators/mtools

+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_GTK=	yes
 GNU_CONFIGURE=	yes
@@ -26,11 +27,11 @@
 MAN1=		mtoolsfm.1

 post-patch:
-	@${PERL} -pi -e 's|MToolsFM|mtoolsfm|g ; \
+	@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
 		 s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
-	@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \
+	@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
 		's|MToolsFM|mtoolsfm|g'
 .for file in src/mtoolsfm.h po/de.po po/fr.po
 	@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit
--- patch-mtoolsfm ends here ---


>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?20020624100745.D6459-100000>