Subject: Re: XFree86 meta package imported in pkgsrc-wip
To: Todd Vierling <tv@pobox.com>
From: Julien T. Letessier <mezis@users.sourceforge.net>
List: tech-pkg
Date: 08/21/2003 23:59:14
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig51B6B7248D425390898EAFBC
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Todd Vierling wrote:

> It might be cleaner to make USE_X11 depend on the XFree86 packages (for
> platforms where this is necessary, perhaps by mk.conf variable), and have
> the standalone XFree86 packages depend on such a placebo-directory package.

That's exactly what I used to do with my (now obsolete) xfree-4.2.1 
package, by adding::

	.if defined(USE_X11) || defined(USE_X11BASE)
	DEPENDS+=               xfree-[0-9]*:../../x11/xfree
	.endif

in my local mk.conf. I also added this blob::

	.if !exists(${X11BASE})
	.BEGIN:
		${MKDIR} -p ${X11BASE}
	.endif

to circumvent the problem caused by bsd.pkg.mk's X11BASE test. Ugly but 
effective.

Cheers,
-- 
Julien T. Letessier
Solarpack Project
http://solarpack.sourceforge.net

()  ascii ribbon campaign - against html mail & vCards
/\                        - against microsoft attachments

--------------enig51B6B7248D425390898EAFBC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj9FQLkACgkQD59VlPZXlnOfPQCgnGeQxRfZLafI7PsOdihlvuH3
8igAmwZB/C5kD27/ikSLB+eGLpNMXhob
=rOhN
-----END PGP SIGNATURE-----

--------------enig51B6B7248D425390898EAFBC--