FreeBSD ports which are currently scheduled for deletion
ports at c0decafe.net
ports at c0decafe.net
Fri Aug 20 22:40:51 PDT 2004
On Fri, 20 Aug 2004 20:31:24 +0200, Oliver Eikemeier wrote:
> Ok, first you determine APXS_PREFIX. Since apache is installed in
> ${LOCALBASE} (and APXS is therefore ${LOCALBASE}/sbin/apxs), this is
> ${LOCALBASE} too.
>
> Ah, I see. You try to cope with the fact that apxs erroneously installes
> files in LOCALBASE instead of PREFIX:
>
> @cwd ${APXS_PREFIX}
> @unexec %D/sbin/apxs -e -A -n %%AP_NAME%%
> %D/%%APACHEMODDIR%%/%%AP_MODULE%%
> %%APACHEMODDIR%%/%%AP_MODULE%%
> @exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F @cwd ${PREFIX}
>
> The problem with that is that you call ${APXS_PREFIX}/sbin/apxs, which
> doesn't matter here, since LOCALBASE = APXS_PREFIX, but won't work
> otherwise. Besides, packages will ignore every -p given to pkg_add(1).
the trick here, is to not set PREFIX for individual modules, but to reset
APXS to whatever your (custom, else there is no problems, right?) apache
prefix is, and it will do the right thing (tm), at least for some :)
unless i am misunderstanding the problem here?
> So, as far as I understand the situation, it's apxs that should be fixed
> to honor PREFIX, and everything should be fine without the need for the
> hacks in the packing list.
>
> Which means something like:
>
modules need to follow the apache installation, unless there is value in
independent prefixes for them?
More information about the freebsd-ports
mailing list