From owner-freebsd-ports Sat Mar 16 19:23:16 2002 Delivered-To: freebsd-ports@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-239.dsl.lsan03.pacbell.net [64.165.226.239]) by hub.freebsd.org (Postfix) with ESMTP id 7397537B400; Sat, 16 Mar 2002 19:23:11 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D0C5F66C39; Sat, 16 Mar 2002 19:23:10 -0800 (PST) Date: Sat, 16 Mar 2002 19:23:10 -0800 From: Kris Kennaway To: Kris Kennaway , Will Andrews , ports@FreeBSD.org Subject: Re: cvs commit: ports/x11/XFree86-4 Makefile Makefile.man pkg-plist pkg-plist.alpha pkg-plist.pc98 ports/x11/XFree86-4/files patch-2 patch-c patch-c2 patch-d patch-f patch-i810 patch-j patch-k patch-mouse patch-r128 patch-r128dri patch-r128xmesa patch-shm ... Message-ID: <20020316192310.A16745@xor.obsecurity.org> References: <200203162343.g2GNhjs90185@freefall.freebsd.org> <20020316171808.A15093@xor.obsecurity.org> <20020317022158.GK53073@squall.waterspout.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020317022158.GK53073@squall.waterspout.com>; from will@csociety.org on Sat, Mar 16, 2002 at 09:21:59PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 16, 2002 at 09:21:59PM -0500, Will Andrews wrote: > > I thought this was one of the main reasons this hadn't been done > > earlier: i.e. finding a way to make the components build out of the > > same source tree but register as separate ports. >=20 > No, the main reason is because no one was willing to commit it. > This particular problem has one possible solution that I haven't > had time to test: >=20 > DEPENDS_TARGET=3D install clean >=20 > ..added to every XFree86-4-* port. Note that this will break if > you use ALWAYS_BUILD_DEPENDS=3Dyes. >=20 > Any other solution (e.g. specifically specifying the target via > *_DEPENDS, or breaking up the src tarballs further manually, or > removing unneeded files after extraction, for each XFree86-4-* > port) is almost certainly a hack. How about some logic in the XFree86-4-* subports which searches the other subports for an existing WRKSRC and uses that (i.e. the first subport to build will extract a copy, but subsequent ones will not)? Another possibility would be to make all of the subports use a common WRKSRC directory. =20 I don't know the details of how the subports build only the relevant bits, so you might also need a cleanup step as well to normalize the contents of that WRKSRC. Or you could just force the subports to do 'make clean' after building, which would be less efficient than preserving the extracted source, but possibly less fragile. We do need some solution here though. Kris --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8lAweWry0BWjoQKURAlHwAKDVxiC6Wfjl87Ey+SylZ33HZLDXNgCcC613 Uxxrlbj0JcF4PZN9TcfzH5A= =h5gV -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message