Bug 50843 - x11/xlockmore uses PERL, not REINPLACE_CMD
Summary: x11/xlockmore uses PERL, not REINPLACE_CMD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Thomas Gellekum
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 03:00 UTC by David Magda
Modified: 2003-05-09 16:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Magda 2003-04-12 03:00:28 UTC
x11/xlockmore uses perl to do a in-place sed(1) but does not have
USE_PERL defined.

Fix: 

Convert to use REINPLACE_CMD.
How-To-Repeat: 
cd /usr/ports/x11/xlockmore
grep -i perl Makefile
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2003-04-12 03:11:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tg

Over to maintainer.
Comment 2 Ulrich Spoerlein 2003-04-15 18:35:33 UTC
On Fri, 11.04.2003 at 21:55:14 -0400, David Magda wrote:
> >Fix:
> 
> Convert to use REINPLACE_CMD.

Here's a patch

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xlockmore/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- Makefile	7 Mar 2003 06:36:19 -0000	1.72
+++ Makefile	15 Apr 2003 17:34:54 -0000
@@ -16,6 +16,7 @@
 COMMENT=	Like XLock session locker/screen saver, but just more
 
 USE_BZIP2=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS= --without-gl --without-motif --without-sx \
 		--without-editres --without-dtsaver --without-rplay \
@@ -51,7 +52,7 @@
 
 .if ${XFREE86_VERSION} >= 4
 post-configure:
-	${PERL} -pi -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
+	${REINPLACE_CMD} -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
 .endif
 
 .include <bsd.port.post.mk>
Comment 3 Thomas Gellekum freebsd_committer freebsd_triage 2003-05-09 16:45:09 UTC
State Changed
From-To: open->closed

Committed, thanks.