From owner-freebsd-ports@FreeBSD.ORG Sun Jun 15 13:40:18 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6697A06 for ; Sun, 15 Jun 2014 13:40:18 +0000 (UTC) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B2192BCE for ; Sun, 15 Jun 2014 13:40:18 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id w61so4634880wes.1 for ; Sun, 15 Jun 2014 06:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bKGI4pc+ioNnHNGL71dxAFjnb/pgFiETVysWEHLqCt4=; b=JO2fA5gy9Inu0pu9/iZ2vTVfTdlKXCWbsGo5800cWiJLY+ex7stSHdQABqCUJ7j/ol uS4WDyGKweXVRt9PqZ/399bVjBlJ2E3UOAKDU4KRqFLZFLkIQii8MVRuuMauvR4mRLOK /K5QskiXRnr4uTXmBoIy09mYLtD3mWKPNi5xFJ9Dcu5OyLXKncdMPEboVE6kavPypSqT CFB1pXOsCtCtAuYh/FFEcsPsx+ztoOC/1svEsFCTWdnFX8cZxevCu1HpbRA2+LP8k4X1 EeQY5sJgmwst4GqkydcopQ5dc/TT/6ALaephi0Tub+X3iGWEReJnTpOVJdliAm4cn25h /c9A== X-Received: by 10.180.13.139 with SMTP id h11mr19364299wic.34.1402839616628; Sun, 15 Jun 2014 06:40:16 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id i8sm8700375wiw.22.2014.06.15.06.40.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jun 2014 06:40:15 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 15 Jun 2014 15:40:13 +0200 From: Baptiste Daroussin To: Artyom Mirgorodskiy Subject: Re: textproc/libe-book00 and rm -f /usr/local/bin Message-ID: <20140615134013.GG4747@ivaldir.etoilebsd.net> References: <3493548.ZUCzsSbshI@notebook.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="doKZ0ri6bHmN2Q5y" Content-Disposition: inline In-Reply-To: <3493548.ZUCzsSbshI@notebook.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2014 13:40:18 -0000 --doKZ0ri6bHmN2Q5y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2014 at 10:13:34AM +0300, Artyom Mirgorodskiy wrote: > post-install: > ${RM} -f ${STAGEDIR}${PREFIX}/bin/* >=20 >=20 > result: > gmake[7]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 `/usr/ports/textproc/libe-book00/work/libe-b= ook-0.0.3' > gmake[6]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 `/usr/ports/textproc/libe-book00/work/libe-b= ook-0.0.3' > gmake[5]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 `/usr/ports/textproc/libe-book00/work/libe-b= ook-0.0.3' > gmake[4]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 `/usr/ports/textproc/libe-book00/work/libe-b= ook-0.0.3' > /bin/rm -f /usr/local/bin/* > rm: /usr/local/bin/db42: is a directory > rm: /usr/local/bin/db48: is a directory > rm: /usr/local/bin/org: is a directory >=20 > Thank you for my night :) Prefixed by STAGEDIR, so except if you are doing something which is totally unsupported (like enforcing no stage) this cannot happen. if you are enforcing NO_STAGE then your setup is already somehow broken but= you do not know it. regards, Bapt --doKZ0ri6bHmN2Q5y Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlOdoj0ACgkQ8kTtMUmk6ExyQQCdF0OZBakOISFAX1s30qQ8By9e rCwAnR5YMzlAnVYGWTojREw3ezpccFr+ =qHVT -----END PGP SIGNATURE----- --doKZ0ri6bHmN2Q5y--