From owner-freebsd-ports Fri Aug 7 11:08:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19907 for freebsd-ports-outgoing; Fri, 7 Aug 1998 11:08:31 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from picnic.mat.net ([209.118.174.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA19849 for ; Fri, 7 Aug 1998 11:08:18 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id NAA02966; Fri, 7 Aug 1998 13:06:30 -0400 (EDT) Date: Fri, 7 Aug 1998 13:06:30 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: ian@majesticnet.com cc: ports@FreeBSD.ORG Subject: Re: patch file question In-Reply-To: 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 Thu, 6 Aug 1998 ian@majesticnet.com wrote: > Where should patch files be generated from? The './work' directory or > './work/asdf-5.2'? Just asking because the patches for ldap are a > combination of the two. Patchfile patch-ag needs to be applied from > './work' and the others from './work/ldap-3.3'. The patches are always applied relative to WRKSRC, which is by default WRKDIR/DISTNAME. You can, of course, play with this, like I did myself with lang/moscow_ml, if you'd like to see an example. In that case, the Makefile that needed to get executed wasn't in the main subdirectory, but instead hidden in a "src" subdirectory. The build target cd's to the WRKSRC directory to execute the 'make ALL_TARGET', so I changed the WRKSRC to add the /src component, and that meant that my patches had to be relative to the src subdirectory, instead of the normal "mosml" directory that the tar file unpacked into. Ask again if this isn't clear, and take a look at the example I gave. > > Ian > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message