From owner-freebsd-ports@FreeBSD.ORG Fri Dec 15 12:19:22 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org 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 9719F16A516 for ; Fri, 15 Dec 2006 12:19:22 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CE743E9D for ; Fri, 15 Dec 2006 12:14:10 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp7-g19.free.fr (Postfix) with ESMTP id 2B682543E for ; Fri, 15 Dec 2006 13:15:36 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 9FEC19B46E; Fri, 15 Dec 2006 12:16:36 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 6F641405B; Fri, 15 Dec 2006 13:16:36 +0100 (CET) Date: Fri, 15 Dec 2006 13:16:36 +0100 From: Jeremie Le Hen To: freebsd-ports@FreeBSD.org Message-ID: <20061215121636.GY94832@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: jeremie@le-hen.org Subject: Conditionnal patches in ${PATCHDIR} 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, 15 Dec 2006 12:19:22 -0000 Hi, (Please Cc: me in your replies.) I would like to apply a patch against a port conditionally, though I don't want to use ${PATCHFILES} because IIUC, this requires the patch to be stored remotely. My problem is that all files matching ${PATCHDIR}/patch-* are automatically applied. I tried to "fork" the port using ${MASTERDIR} and store my patch only in the forked port tree, but only patches in ${MASTERDIR}/${PATCHDIR} are applied, and patches in ${.CURDIR}/${PATCHDIR} are ignored. I didn't use to create ports, any advice would be welcome. Thank you very much. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >