port files/patch-*: PREFIX or LOCALBASE
Nuno Teixeira
eduardo at freebsd.org
Wed May 19 08:45:49 UTC 2021
(...)
# PREFIX - Where *this* port installs its files.
# Default: ${LINUXBASE} if USE_LINUX_PREFIX
is set,
# otherwise ${LOCALBASE}
# LOCALBASE - Where ports install things.
# Default: /usr/local
Nuno Teixeira <eduardo at freebsd.org> escreveu no dia quarta, 19/05/2021 à(s)
09:42:
> Hello,
>
> I'm working in a port that have several files/patches like:
>
> --- NsCDE/bin/nscde.orig 2021-05-02 07:33:53 UTC
> +++ NsCDE/bin/nscde
> @@ -42,16 +42,11 @@ fi
> # Set main NSCDE and FVWM variables. Most of the things later
> # depends on this core variables.
> export FVWM_USERDIR="${HOME}/.NsCDE"
> -export NSCDE_ROOT=/opt/NsCDE
> -export FVWM_DATADIR="${NSCDE_ROOT}/config"
> +export NSCDE_ROOT=/usr/local
> +export FVWM_DATADIR="/usr/local/etc/nscde"
> (...)
>
> What is more correct to substitute "/usr/local" as variable?
> ${PREFIX} or ${LOCALBASE}?
>
> Thanks in advance,
> eduardo
>
More information about the freebsd-ports
mailing list