From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 05:01:20 2003 Return-Path: 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 407EC37B401 for ; Tue, 5 Aug 2003 05:01:20 -0700 (PDT) Received: from ns0.binep.ac.ru (serv2.binep.ac.ru [193.233.44.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3F2543FBD for ; Tue, 5 Aug 2003 05:01:18 -0700 (PDT) (envelope-from goshik@binep.ac.ru) Received: from byfi (byfi.binep.ac.ru [193.233.44.234]) by ns0.binep.ac.ru (8.11.6/8.11.6) with SMTP id h75C4bi09484; Tue, 5 Aug 2003 16:04:37 +0400 (MSD) (envelope-from goshik@binep.ac.ru) Message-ID: <008501c35b49$4620c9c0$ea2ce9c1@binep.ac.ru> From: "Igor B. Bykhalo" To: "Heinrich Rebehn" , References: <3F2E1EAA.5030200@ant.uni-bremen.de> Date: Tue, 5 Aug 2003 16:01:07 +0400 Organization: BINEPCP RAS MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: How to apply private patches to port? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 12:01:20 -0000 From: "Heinrich Rebehn" To: Sent: Monday, August 04, 2003 12:51 PM Subject: How to apply private patches to port? > Hi list, > > Is there some documentation about how to add private patches/hacks to a port? > Just add a patch-a{something} to the files directory? > Well, in case you are using portupgrade tool, consider the BEFOREBUILD section of pkgtools.conf. Here is how i used it to apply patches before they were commited... BEFOREBUILD = { # 'print/lyx' => 'cd /usr/ports/print && patch -p0 < lyx.diff', # 'x11-wm/icewm' => 'cd /usr/ports && patch -p0 < icewm.diff', } [...] > Heinrich Rebehn > > University of Bremen > Physics / Electrical and Electronics Engineering > - Department of Telecommunications - > > Phone : +49/421/218-4664 > Fax : -3341 > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >