Skip site navigation (1)Skip section navigation (2)
Date:      05 Dec 1998 21:04:37 +0100
From:      Oyvind Moll <oyvindmo@pvv.ntnu.no>
To:        ports@FreeBSD.ORG
Subject:   two WRKSRC (kind of)
Message-ID:  <dslk906uzhm.fsf@apollo.orakel.ntnu.no>

next 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 can imagine some solutions:

- Exploit pre-configure target (cf. nethack-qt)
- Dividing the foobar port into a foo port and a bar port
- Defining a special do-patch in the foobar port Makefile

Any ideas or pointers to ports that deal cleanly with this?  (Couldn't
find anything in TFM.)

-- 
   Øyvind Møll
   oyvindmo@pvv.ntnu.no

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?dslk906uzhm.fsf>