Don't fail on a read-only ${PORTSDIR}

Approved by:	maintainer
This commit is contained in:
Kris Kennaway
2001-03-25 23:27:07 +00:00
parent 87a38f41fe
commit 7a3b248f5c
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ MAN1= alevtd.1 fbtv.1 propwatch.1 rootv.1 showriff.1 v4l-conf.1 \
post-configure:
.for M in ${SEDFILES}
@(${SED} -e 's,^CFLAGS=,CFLAGS+=,g' ${WRKSRC}/$M/Makefile | \
${SED} -e 's,-O2,,g' > foo && ${MV} foo ${WRKSRC}/$M/Makefile)
${SED} -e 's,-O2,,g' > ${WRKSRC}/foo && ${MV} ${WRKSRC}/foo ${WRKSRC}/$M/Makefile)
.endfor
post-install:

View File

@@ -32,7 +32,7 @@ MAN1= alevtd.1 fbtv.1 propwatch.1 rootv.1 showriff.1 v4l-conf.1 \
post-configure:
.for M in ${SEDFILES}
@(${SED} -e 's,^CFLAGS=,CFLAGS+=,g' ${WRKSRC}/$M/Makefile | \
${SED} -e 's,-O2,,g' > foo && ${MV} foo ${WRKSRC}/$M/Makefile)
${SED} -e 's,-O2,,g' > ${WRKSRC}/foo && ${MV} ${WRKSRC}/foo ${WRKSRC}/$M/Makefile)
.endfor
post-install: