From owner-freebsd-questions Wed Feb 7 14:46: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id ABB2C37B6C1 for ; Wed, 7 Feb 2001 14:45:41 -0800 (PST) Received: from fraser.sfu.ca (tmchow@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id f17MjdM25210 for ; Wed, 7 Feb 2001 14:45:40 -0800 (PST) Received: from localhost (tmchow@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) with ESMTP id OAA05223 for ; Wed, 7 Feb 2001 14:45:38 -0800 (PST) X-Authentication-Warning: fraser.sfu.ca: tmchow owned process doing -bs Date: Wed, 7 Feb 2001 14:45:38 -0800 (PST) From: Trevin Chow To: Subject: Changing location for install of port? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone, I prefer to install everything via ports, but I'm running into problems where I want to customize the instal location but I'm not sure how to do this. For example, the default install locaiton for the Apache 1.3.17 port is /usr/local, butt I would like to make it install to /usr/local/apache (as well as configure some other directories, like the log directory). I don't see any documentation on the `make` and `make install` takin any parameters, nor is there any type of "./configure" possible as there is when you install the source. Upon examining the Makefile, I notice that the presence of a "$PREFIX" variable to determine the install path, but that variable isn't defined anywhere that I can see. Should I be editin the Makefile and hardcode an install path? Will this hamper my ability to use "make deinstall" at a later time? Any help would be great because I'm running into this problem with mySQL as well where I wnat the install directory to be /usr/local/mysql. Regards, Trevin Chow To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message