Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 17:40:16 +0100
From:      Tony Finch <dot@dotat.at>
To:        freebsd-ports@freebsd.org
Cc:        dot@dotat.at
Subject:   permissions problems with patch-libtool
Message-ID:  <20020726174016.D7551@chiark.greenend.org.uk>

next in thread | raw e-mail | index | archive | help
If any of ${LIBTOOLFILES} is read-only then patch-libtool will fail.
Shall I commit this fix?

Tony.
-- 
f.a.n.finch <dot@dotat.at> http://dotat.at/
MALIN: SOUTHWEST, BACKING SOUTH FOR A TIME, 3 INCREASING 4 OR 5. RAIN OR
DRIZZLE. MODERATE, OCCASIONALLY POOR LATER.



--- bsd.port.mk.orig	Fri Jul 26 16:37:47 2002
+++ bsd.port.mk	Fri Jul 26 16:37:40 2002
@@ -2641,7 +2641,7 @@
 	 LIBTOOLDIR=`${WHICH} ${LIBTOOL} | ${SED} -e 's^/bin/libtool^/share/libtool^'` || ${LOCALBASE}/share/libtool; \
 	 cd ${PATCH_WRKSRC}; \
 	 for file in ${LIBTOOLFILES}; do \
-		${CP} $$file $$file.tmp; \
+		${MV} $$file $$file.tmp; \
 		${SED} -e "s^\$$ac_aux_dir/ltconfig^$${LIBTOOLDIR}/ltconfig^g" \
 			-e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} $${LIBTOOLDIR}/ltmain.sh^g" \
 			$$file.tmp > $$file; \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726174016.D7551>