From owner-freebsd-ports Sat Dec 5 17:27:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05013 for freebsd-ports-outgoing; Sat, 5 Dec 1998 17:27:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05008 for ; Sat, 5 Dec 1998 17:27:06 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca36-54.ix.netcom.com [207.92.172.54]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id RAA13636; Sat, 5 Dec 1998 17:27:00 -0800 (PST) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id RAA01443; Sat, 5 Dec 1998 17:26:56 -0800 (PST) Date: Sat, 5 Dec 1998 17:26:56 -0800 (PST) Message-Id: <199812060126.RAA01443@silvia.hip.berkeley.edu> To: oyvindmo@pvv.ntnu.no CC: ports@FreeBSD.ORG In-reply-to: (message from Oyvind Moll on 05 Dec 1998 21:04:37 +0100) Subject: Re: two WRKSRC (kind of) From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Given a port foobar with: * * DISTFILES= foo.tgz bar.tgz * * ...and these extract into .../work/foo/ and .../work/bar/. * * Is there a nice and clean way of having some patches that get applied * in the foo directory and some that apply the bar directory? * (Conceptually, I would have e.g. patch-foo-aa, patch-foo-ab and * patch-bar-aa in $PATCHDIR and these would be nicely applied in the * intuitively appropriate directories.) I guess you want your WRKSRC to be one of them. (Otherwise you can just define NO_WRKSUBDIR.) Without loss of generality I'm going to assume it's foo. Then just the bar patches to read ======= --- ../bar/bar.orig Sat Dec 5 17:23:58 1998 +++ ../bar/bar Sat Dec 5 17:23:43 1998 : ======= Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message