Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 14:45:38 -0800 (PST)
From:      Trevin Chow <tmchow@sfu.ca>
To:        <questions@freebsd.org>
Subject:   Changing location for install of port?
Message-ID:  <Pine.GSO.4.30.0102071442060.2861-100000@fraser.sfu.ca>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0102071442060.2861-100000>