diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-21 16:13:17 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-21 16:13:17 +0000 |
commit | c892af1780b67e6fdabc7f4945bcad3d9e29571d (patch) | |
tree | 8a9971c8edf6533234e79b9a5cc3a411a279b46f /ftp/pavuk | |
parent | 37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd (diff) | |
download | FreeBSD-ports-c892af1780b67e6fdabc7f4945bcad3d9e29571d.zip FreeBSD-ports-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.gz |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39594
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'ftp/pavuk')
-rw-r--r-- | ftp/pavuk/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile index 3e4287e..b603892 100644 --- a/ftp/pavuk/Makefile +++ b/ftp/pavuk/Makefile @@ -19,6 +19,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext +USE_REINPLACE= yes WANT_GTK= yes USE_OPENSSL= yes GNU_CONFIGURE= yes @@ -39,11 +40,11 @@ CONFIGURE_ARGS+= --disable-gtk .endif pre-patch: - @${PERL} -pi -e 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \ + @${REINPLACE_CMD} -e 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \ s|-pthread|${PTHREAD_LIBS}|g ; \ s|-lpthreads|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$$\(datadir\)/icons|\$$\(pkgdatadir\)/icons|g' + @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ + 's|\$$(datadir)/icons|\$$(pkgdatadir)/icons|g' post-install: ${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc |