From owner-freebsd-ports Fri Jan 16 23:09:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09020 for freebsd-ports-outgoing; Fri, 16 Jan 1998 23:09:12 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09016 for ; Fri, 16 Jan 1998 23:09:08 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id KAA03842; Sat, 17 Jan 1998 10:08:59 +0300 (MSK) (envelope-from ache) Date: Sat, 17 Jan 1998 10:08:57 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: "Scot W. Hetzel" cc: freebsd-ports@FreeBSD.ORG Subject: Re: Patch Problem In-Reply-To: <00e101bd230c$0bcb6260$c3e0d9cf@admin.westbend.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 16 Jan 1998, Scot W. Hetzel wrote: > I tried it both ways and still had the same problem. > > diff -ruN myport.orig myport > myport.diff > > diff -ruN myport myport.orig > myport.diff > > Both patches tried to patch the Makefile in root of the port.cat directory, > instead of the Makefile in the myport subdirectory. Wrong. In your case the command should be diff -ruN myport myport.new > myport.diff where myport contains old variant and myport.new updated one. Then patch < myport.diff will patch myport as you suppose. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/