From owner-freebsd-ports Mon Mar 20 00:34:23 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA13023 for ports-outgoing; Mon, 20 Mar 1995 00:34:23 -0800 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA13011 for ; Mon, 20 Mar 1995 00:34:20 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.9/8.6.9) id AAA03299; Mon, 20 Mar 1995 00:33:11 -0800 Date: Mon, 20 Mar 1995 00:33:11 -0800 Message-Id: <199503200833.AAA03299@silvia.HIP.Berkeley.EDU> To: mark@grondar.za CC: ports@FreeBSD.org In-reply-to: <199503200629.WAA02581@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu) Subject: Re: Gripe of the week (tm) :-) From: asami@cs.berkeley.edu (Satoshi Asami/=?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) Sender: ports-owner@FreeBSD.org Precedence: bulk (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