/usr/ports/www/phpbb --? Makefile query

Vizion vizion at vizion.occoxmail.com
Thu Sep 8 17:25:12 PDT 2005


On Thursday 08 September 2005 17:05,  the author Vizion contributed to the 
dialogue on-
 /usr/ports/www/phpbb --? Makefile query: 

>The makefile has the following lines:
>
>PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
>PKGOPTS=	${FILESDIR}/pkg-opts
>EXCEPTFILES=	${PREFIX}/${PHPBBDIR}/install/install.php \
>		${PREFIX}/${PHPBBDIR}/install/upgrade.php \
>		${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
>
>In my case DocumentRoot is:
>WWWDOCROOT?=	/usr2/virtualwebs
>
>to which the port is adding ${PREFIX}
>
>which has a local value of /usr/local
>
>producing attempts to install files with problematic paths such as
>
>/usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
>^^^^^^
>
>I wonder, while this is being looked at, whether it might be possible to
> have the option, when installing to virtual webs to install to a file list
> comprising multiple urls?
>
>This would be a most valuable option.
>
Just a small point the makefile includes line

Perform a "make options" to see a list of available installation options
but
# make options
make: don't know how to make options. Stop

Maybe the Makefile needs to test the difference between
usr2
and
/usr
to distinguish been an absolute path and a path relative to ${PREFIX}

Thanks again

david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.


More information about the freebsd-questions mailing list