Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2021 09:45:38 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: port files/patch-*: PREFIX or LOCALBASE
Message-ID:  <CAFDf7ULeYRbXuDcC9ckssy_C8bR%2BRTpPYn_Hacrc8n75ve8NoA@mail.gmail.com>
In-Reply-To: <CAFDf7ULM5nKT1bGO_h1c=Jdu8zS3W5kXoni8PgOpuKC-sX4hew@mail.gmail.com>
References:  <CAFDf7ULM5nKT1bGO_h1c=Jdu8zS3W5kXoni8PgOpuKC-sX4hew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(...)

# 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@freebsd.org> escreveu no dia quarta, 19/05/2021 =C3=
=A0(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=3D"${HOME}/.NsCDE"
> -export NSCDE_ROOT=3D/opt/NsCDE
> -export FVWM_DATADIR=3D"${NSCDE_ROOT}/config"
> +export NSCDE_ROOT=3D/usr/local
> +export FVWM_DATADIR=3D"/usr/local/etc/nscde"
> (...)
>
> What is more correct to substitute "/usr/local" as variable?
> ${PREFIX} or ${LOCALBASE}?
>
> Thanks in advance,
> eduardo
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7ULeYRbXuDcC9ckssy_C8bR%2BRTpPYn_Hacrc8n75ve8NoA>