Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 10:58:53 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39720: ports/security/fwlogwatch  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020623105807.D117-100000@ivymike.satan.kom>

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

>Number:         39720
>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:   Sun Jun 23 11:00:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        
>Organization:
<organization of PR author (multiple lines)>
>Environment:
>Description:
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-fwlogwatch begins here ---
--- Makefile.orig	Fri Apr 12 10:10:04 2002
+++ Makefile	Sun Jun 23 10:57:07 2002
@@ -16,18 +16,19 @@

 LIB_DEPENDS=	intl.2:${PORTSDIR}/devel/gettext

+USE_REINPLACE=	yes
 INSTALL_TARGET=	install install-config install-i18n
 MANCOMPRESSES=	no
 MAN8=	fwlogwatch.8
 MAKE_ENV=	MKDIR="${MKDIR}"

 post-patch:
-	@${PERL} -pi -e 's,/etc,${PREFIX}/etc,g; \
+	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g; \
 		s,/usr/local,${PREFIX},g; \
 		s,/usr/share,${PREFIX}/share,g; \
 		s,%%LOCALBASE%%,${LOCALBASE},g' \
 		${WRKSRC}/Makefile ${WRKSRC}/main.h
-	@${PERL} -pi -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}
+	@${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}

 post-install:
 	@${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample ${PREFIX}/etc/rc.d
--- patch-fwlogwatch 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?20020623105807.D117-100000>