diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | 534fffca27bb18f7529d548c46ee3326505a89c7 (patch) | |
tree | a09ac440edd299d85a3517dea62caa2b115543fc /ftp | |
parent | 5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff) | |
download | ports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip |
Notes
Diffstat (limited to 'ftp')
-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 ; \ |