From 7a3b248f5cf9642a1847413766cfcb98bb99153a Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 25 Mar 2001 23:27:07 +0000 Subject: [PATCH] Don't fail on a read-only ${PORTSDIR} Approved by: maintainer --- graphics/xawtv/Makefile | 2 +- multimedia/xawtv/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/xawtv/Makefile b/graphics/xawtv/Makefile index 2ffbe0ab8947..6f2cb146cc29 100644 --- a/graphics/xawtv/Makefile +++ b/graphics/xawtv/Makefile @@ -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: diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile index 2ffbe0ab8947..6f2cb146cc29 100644 --- a/multimedia/xawtv/Makefile +++ b/multimedia/xawtv/Makefile @@ -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: