From owner-freebsd-ports Mon Aug 19 17:54:18 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA01948 for ports-outgoing; Mon, 19 Aug 1996 17:54:18 -0700 (PDT) Received: from po1.glue.umd.edu (po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA01942 for ; Mon, 19 Aug 1996 17:54:16 -0700 (PDT) Received: from skipper.eng.umd.edu (skipper.eng.umd.edu [129.2.103.24]) by po1.glue.umd.edu (8.8.Alpha.8/8.8.Alpha.8) with ESMTP id UAA12478; Mon, 19 Aug 1996 20:54:14 -0400 (EDT) Received: from localhost (chuckr@localhost) by skipper.eng.umd.edu (8.7.5/8.7.3) with SMTP id UAA08066; Mon, 19 Aug 1996 20:54:09 -0400 (EDT) X-Authentication-Warning: skipper.eng.umd.edu: chuckr owned process doing -bs Date: Mon, 19 Aug 1996 20:54:08 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@skipper.eng.umd.edu To: Stephen Hocking cc: Satoshi Asami , ports@freebsd.org Subject: Re: PREFIX with X11 ports In-Reply-To: <199608192320.XAA05127@netfl15a.devetir.qld.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 20 Aug 1996, Stephen Hocking wrote: > > There is an environment variqable (whose name I can't remember off the top of > my head) that allows you to change the search path for application defaults. > It maube worthwhile setting that in say, /etc/profile & /etc/cshrc. I went looking for this, and found XAPPLRESDIR as an environmental variable that tells programs where to look for their data. This value is relative to the XFILESEARCHPATH variable, which specifies the top of the X11 file search path. An additional single file, specified by XENVIRONMENT, gives the name of a file for per user initialization. There is one variable I've found, XUSERFILESEARCHPATH, that seems ideally useable as a method of moving the defaults stuff where we want it. To get the X11 stuff located outside the X11R6 tree, we'd have to specify that users set this to some path with our FreeBSD/Ports blessed defaults location. I've already shown Satoshi that I can make imake put files right where I want them and even handle the man page compression right (conditionally based on NOMANCOMPRESS). I can do what you asked for, Satoshi. Let me know the name of the variables you want to use, I'll hack bsd.port.mk on my system only, for a X test, and install a LOAD of x11 test cases, to prove this will really work. I'll give the results back to this list, where the results can be reviewed. OK? Of course, this all depends on relying on the user to set XUSERFILESEARCHPATH where we tell them to. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------