aboutsummaryrefslogtreecommitdiffstats
path: root/palm/coldsync
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-24 00:42:16 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-24 00:42:16 +0800
commitaf461cdf9e887fdcd908f856f83686cdf4b29713 (patch)
treef9291f63c9da82405262f4d1150c25d17d956be8 /palm/coldsync
parentc7b3e5e2a704c40be2a5b624aa0731d7430a7a03 (diff)
downloadfreebsd-ports-graphics-af461cdf9e887fdcd908f856f83686cdf4b29713.tar.gz
freebsd-ports-graphics-af461cdf9e887fdcd908f856f83686cdf4b29713.tar.zst
freebsd-ports-graphics-af461cdf9e887fdcd908f856f83686cdf4b29713.zip
${PERL} -> ${REINPLACE_CMD}
PR: 39702, 39704 Submitted by: Scott Flatman <sf@dsinw.com>
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 aa2ae985117..f4a99fc6693 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