Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2008 01:12:22 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        chris#@1command.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: a $PREFIX question...
Message-ID:  <20080912211222.GA37740@hades.panopticon>
In-Reply-To: <20080912105907.hgkvg352gco0k8ow@webmail.1command.com>
References:  <20080912105907.hgkvg352gco0k8ow@webmail.1command.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* chris#@1command.com (chris#@1command.com) wrote:

You should just refedine PREFIX to, say, /usr/local/php5, and everything
will be installed there:

/usr/local/php5/bin
/usr/local/php5/etc
/usr/local/php5/include
/usr/local/php5/lib
...

If you specifically want bin/php5, etc/php5 etc. you'll have to
hack much more stuff. At least, you'll need to add
--bindir=${PREFIX}/bin/php5 --libdir=${PREFIX}/lib/php5 (etc. for other
dirs, see php's `configure --help`) to CONFIGURE_ARGS to make php5
actually install file into those locations, and most likely other hacks
will be needed.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080912211222.GA37740>