From owner-freebsd-ports Fri Jul 26 9:40:20 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99CEB37B400 for ; Fri, 26 Jul 2002 09:40:17 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.135.138.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEEB343E4A for ; Fri, 26 Jul 2002 09:40:16 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 17Y88W-0001Mi-00 (Debian); Fri, 26 Jul 2002 17:40:16 +0100 Date: Fri, 26 Jul 2002 17:40:16 +0100 From: Tony Finch To: freebsd-ports@freebsd.org Cc: dot@dotat.at Subject: permissions problems with patch-libtool Message-ID: <20020726174016.D7551@chiark.greenend.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If any of ${LIBTOOLFILES} is read-only then patch-libtool will fail. Shall I commit this fix? Tony. -- f.a.n.finch 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