From owner-freebsd-ports@FreeBSD.ORG Thu Jul 8 04:38:37 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45AC2106564A for ; Thu, 8 Jul 2010 04:38:37 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C49D8FC1C for ; Thu, 8 Jul 2010 04:38:36 +0000 (UTC) Received: by iwn35 with SMTP id 35so604683iwn.13 for ; Wed, 07 Jul 2010 21:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=GBXWN9JjyaAPlJ3WtMzXAHbTS/dOrk25kkuTXCByts8=; b=Q9/BnR6PO0/dYdAMMjgkueZ4EDAkUEL4Om3tZ4cIk/JbeOmI4NUkAxv/dzEvIAB2HR FiXUNujzRiYVHRzAlszc+h8qNv8DCx8dkFKBN6hayYII+/Ri4Kzrf4UN1SomlQx09cG+ dNVQFRGpHjZwK8L03VU/pkrZrCs0P3lATCtU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=iOBg2OoONzDVIRiYzZE5QJPxbvuxPnf+t3xwfOBiX16Y31xVkqv2NrehjwFOoYaGAV 3DqO+rwvonJP8GvKWGTQpk4qkfHE6TrovcBm/wzaAmVdfBCxOYKZe06mRpP850iX7cG8 EOAWTEAQPsRHqIfh/EWTlCYQH/OV0uMLzq9kI= MIME-Version: 1.0 Received: by 10.231.59.13 with SMTP id j13mr7544584ibh.77.1278563915660; Wed, 07 Jul 2010 21:38:35 -0700 (PDT) Received: by 10.231.37.11 with HTTP; Wed, 7 Jul 2010 21:38:35 -0700 (PDT) In-Reply-To: <20100707223624.215f9188@My3490ct.mama.bogus> References: <20100707223624.215f9188@My3490ct.mama.bogus> Date: Wed, 7 Jul 2010 21:38:35 -0700 Message-ID: From: Freddie Cash To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: portmaster --packages-if-newer but forcing some ports to compile from source X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 04:38:37 -0000 On Wed, Jul 7, 2010 at 7:36 PM, Manuel Chaviano wrote: > is there a way to force portmaster to always > build a particular port from source? > > Perhaps something like the existence of a file: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0/var/db/pkg/*/PM_ALWAYS_USE_PORT > > I am using portmaster -aDB --packages-if-newer in a regular basis > to update my installed ports in the shortest possible time. > > However I have 2 ports installed that I must build from source > regardless whether the newer binary package is available or not. >> > claws-mail: > reason: the binary package does not have the pgp-xxxxx enabled. > > gtk20: > reason: CUPS is disabled in the binary package. > > What I have to do then is a little inconvenient: > > portmaster -aDB --packages-if-newer --no-confirm > > NOTE: I have tried adding -x gtk20 -x claws-mail but it will > excluded too many other ports/pkgs (the glob will match). > > ...then manually rebuilding/reinstalling gtk20 and claws-mail. touch /var/db/pkg/claws-*/+IGNOREME touch /var/db/pkg/gtk20*/+IGNOREME That will cause portmaster to either ignore the port completely in upgrades, or ask you if you want to upgrade it. Say no the first time you run portmaster (with --packages-if-newer). Then run it a second time for just those two ports. --=20 Freddie Cash fjwcash@gmail.com