Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 21:23:03 +0200 (CEST)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39587: ${PERL} -> ${REINPLACE_CMD} archivers/nomarch
Message-ID:  <200206201923.g5KJN37i034179@vale.pil.dk>

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

>Number:         39587
>Category:       ports
>Synopsis:       ${PERL} -> ${REINPLACE_CMD} archivers/nomarch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 20 12:30:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD vale.pil.dk 4.6-STABLE FreeBSD 4.6-STABLE #2: Sun Jun 16 09:35:15 CEST 2002 root@vale.pil.dk:/usr/obj/usr/src/sys/VALE i386


	
>Description:
use REINPLACE instead of perl

>How-To-Repeat:
	
>Fix:

	

--- nomarch.diff begins here ---
diff -ruN nomarch.orig/Makefile nomarch/Makefile
--- nomarch.orig/Makefile	Thu Jun 20 21:13:52 2002
+++ nomarch/Makefile	Thu Jun 20 21:15:01 2002
@@ -16,10 +16,12 @@
 
 LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
 
+USE_REINPLACE=	yes
+
 MAN1=	nomarch.1
 
 post-patch:
-	@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
 		s,^PREFIX,#PREFIX,g ; \
 		s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
 
--- nomarch.diff 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?200206201923.g5KJN37i034179>