Date: Mon, 20 Mar 1995 00:33:11 -0800 From: asami@cs.berkeley.edu (Satoshi Asami/=?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) To: mark@grondar.za Cc: ports@FreeBSD.org Subject: Re: Gripe of the week (tm) :-) Message-ID: <199503200833.AAA03299@silvia.HIP.Berkeley.EDU> In-Reply-To: <199503200629.WAA02581@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu)
next in thread | previous in thread | raw e-mail | index | archive | help
(following up on my previous message on this subject....) * Um, that doesn't work because your imake config files are saying * otherwise! bsd.port.mk depends on imake to create the Makefile for X * utilities. Go into your imake config dir and look at site.def, you * should find * * #define ProjectRoot /usr/X11R6 * * Change that line to where you want to put your X tree. Actually, if we really want to change this from within bsd.port.mk, it is possible. We can make it invoke imake with -DProjectRoot=${PREFIX} (or X11BASE?). The problem is that there is no way to pass this option through xmkmf, and calling imake directly might give us compatibility problems when future releases of X comes out with an xmkmf that calls imake with a different set of arguments (currently it's "imake -DUseInstalled -I/usr/X11R6/lib/X11/config" with a preceding mv to backup the Makefile). Also, I'm not convinced that this is a good idea anyway. If you want your X stuff in a different place, you *should* edit your site.def or you'll have to fix your Makefiles every time you call xmkmf by yourself and not from bsd.port.mk. Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503200833.AAA03299>