Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 1998 17:26:56 -0800 (PST)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        oyvindmo@pvv.ntnu.no
Cc:        ports@FreeBSD.ORG
Subject:   Re: two WRKSRC (kind of)
Message-ID:  <199812060126.RAA01443@silvia.hip.berkeley.edu>
In-Reply-To: <dslk906uzhm.fsf@apollo.orakel.ntnu.no> (message from Oyvind Moll on 05 Dec 1998 21:04:37 %2B0100)

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812060126.RAA01443>