diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
commit | fd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch) | |
tree | 6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /ftp/afd/Makefile | |
parent | 54d69c112debb52b84b6d174bd59479eec834fb7 (diff) | |
download | freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'ftp/afd/Makefile')
-rw-r--r-- | ftp/afd/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ftp/afd/Makefile b/ftp/afd/Makefile index b06d01a92bfc..4afc4e658dbc 100644 --- a/ftp/afd/Makefile +++ b/ftp/afd/Makefile @@ -18,15 +18,16 @@ MAINTAINER= ports@FreeBSD.org FORBIDDEN= "Installs 88 setuid root applications; disaster waiting to happen" USE_MOTIF= yes +USE_REINPLACE= yes MAKE_ENV= BINMODE=${BINMODE} \ PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} post-patch: - @find ${WRKSRC} -name Makefile | xargs \ - ${PERL} -pi -e "s,^(INST(ALL)?DIR *)= .*,\1= ${PREFIX}/bin,g ; \ - s,cp -p,cp,g" - @${PERL} -pi -e "s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Include.mk.freebsd - @${PERL} -pi -e "s,^SBINDIR = .*,SBINDIR = ${PREFIX}/sbin,g" ${WRKSRC}/afd_mon/Makefile + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ + ${REINPLACE_CMD} -E -e 's,^(INST(ALL)?DIR *)= .*,\1= ${PREFIX}/bin,g ; \ + s,cp -p,cp,g' + @${REINPLACE_CMD} -e "s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Include.mk.freebsd + @${REINPLACE_CMD} -e "s,^SBINDIR = .*,SBINDIR = ${PREFIX}/sbin,g" ${WRKSRC}/afd_mon/Makefile pre-build: @(cd ${WRKSRC} ; ${RM} -f Include.mk ; \ |