From owner-freebsd-ports@FreeBSD.ORG Fri Sep 7 14:39:10 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2576E1065673; Fri, 7 Sep 2012 14:39:10 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6BCA98FC08; Fri, 7 Sep 2012 14:39:08 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1572942bkc.13 for ; Fri, 07 Sep 2012 07:39:08 -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:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=rAdNM2VM8lk2Hm0kNSg9ihN0GXhe5aFLKpoLq2EfdXk=; b=CXmezvfxUmoPpflsssHyEhyBQ/yOPL0ryOCVEsg1bSM+2Ms7hsxJfanaMC6g2PkExl IMVmtCNa5Ysb9TXiNXCX2tp9PA78H4cSbRCyAxoHx20QOsOM7cnBuJVz5xmSZSBInC7D P/JD2PTun97BjvfBH/oYlICeXv063+i1tbsJiojby+9UIoBVWkUbKCuX1ulrPkuwo6wF Dd2M+umBx743ya8700XhBnop5PUAA5tnBnwOmtydgtSsmMK6O1M5rCp6Ol9rd9L6KD1Y 7jRaInFH4biaRsU/9AflKTDS3IXs1cKiqwXw9lgxkO9A9nTdsdoUOqjxrXhaWC8HZ5D5 +9Qw== Received: by 10.204.130.211 with SMTP id u19mr2853044bks.24.1347028747876; Fri, 07 Sep 2012 07:39:07 -0700 (PDT) Received: from localhost ([176.109.165.98]) by mx.google.com with ESMTPS id g6sm3634635bkg.2.2012.09.07.07.39.03 (version=SSLv3 cipher=OTHER); Fri, 07 Sep 2012 07:39:04 -0700 (PDT) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Fri, 7 Sep 2012 16:38:00 +0200 From: Pawel Pekala To: "Steven Hartland" Message-ID: <20120907163800.79026725@FreeBSD.org> In-Reply-To: References: <5049E9D2.2060209@FreeBSD.org> <5049DF41.9090607@FreeBSD.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; i386-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: Beat Gaetzi , freebsd-ports@freebsd.org Subject: Re: [FreeBSD-Announce] Announcing the end of port CVS 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: Fri, 07 Sep 2012 14:39:10 -0000 Dnia 2012-09-07, o godz. 12:57:42 "Steven Hartland" napisa=B3(a): >Is there no way to tell it not to delete unknown files so we >don't have to add addional steps to the workflow flow of adding >additional patches to local port builds? > >I appreciate things must move forward but this seems like a step >backwards in terms of functionality :( I`m using portsnap for some time now and wanted to have my /usr/ports untouched but also I have my own patches for some of the software that I use. I have come up with not ideal but simple solution, my make.conf contains something like this: .if ${.CURDIR:M/usr/ports/*} LOCALPATCHDIR=3D /home/corn/patches . if exists(${LOCALPATCHDIR}/${.CURDIR:T}) LOCAL_PATCHES!=3D find ${LOCALPATCHDIR}/${.CURDIR:T} -type f EXTRA_PATCHES+=3D ${LOCAL_PATCHES} . endif .endif LOCALPATCHDIR contains folders with names of ports I want to patch=20 which hold my patches inside them. Be aware that this will break when you want to patch port that shares name with some other port but different category. This situation is rare but it could happen. This inconvenience could probably be easily fixed when UNIQUENAME work will be committed to the ports tree, but I'm not sure when this will be. --=20 pozdrawiam / with regards Pawe=B3 P=EAkala