summaryrefslogtreecommitdiff
path: root/palm/coldsync
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 16:42:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 16:42:16 +0000
commitb152e773ac9d00bd31fdbbdf78c2ce29fa5c42ce (patch)
tree0242443d005095a6379ed1ed5b6b81588f96865d /palm/coldsync
parent${PERL} -> ${REINPLACE_CMD} (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 39702, 39704 Submitted by: Scott Flatman <sf@dsinw.com>
Notes
Notes: svn path=/head/; revision=61827
Diffstat (limited to 'palm/coldsync')
-rw-r--r--palm/coldsync/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile
index aa2ae9851176..f4a99fc66930 100644
--- a/palm/coldsync/Makefile
+++ b/palm/coldsync/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Palm/PDB.pm:${PORTSDIR}/palm/p5-Palm
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# The ColdSync.3 man page describes a Perl package. That's why it goes
# in the Perl manpage directory.
@@ -37,7 +38,7 @@ CONFIGURE_ARGS+= --with-i18n
CONFIGURE_ARGS+= --with-usb
.if ${OSVERSION} >= 450000
post-patch:
- ${PERL} -pi -e 's,udi\.(\S+),udi.udi_\1,g;' \
+ ${REINPLACE_CMD} -e 's,udi\.(\S+),udi.udi_\1,g;' \
-e 's,ur\.(\S+),ur.ucr_\1,g;' \
${WRKSRC}/configure ${WRKSRC}/libpconn/PConnection_usb.c
.endif