From 41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 21 Jun 2002 15:52:35 +0000 Subject: Replace ${PERL} with ${REINPLACE_CMD} PR: 39591 Submitted by: Oliver Braun --- editors/poedit/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'editors/poedit') diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index a941d5a7463..cbb8d2d5322 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -23,6 +23,7 @@ LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \ db3:${PORTSDIR}/databases/db3 PATCH_DIST_ARGS= -d ${PATCH_WRKSRC} -E ${PATCH_DIST_STRIP} -p1 +USE_REINPLACE= yes USE_X_PREFIX= yes WANT_GNOME= yes GNU_CONFIGURE= yes @@ -42,10 +43,10 @@ CONFIGURE_ARGS+= --without-gnome .endif pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ + s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' .include -- cgit