On Mon, 19 Dec 2022 02:44:40 +0100 (CET)
[email protected] wrote:

Dear Aaron,

> commit c225c4315161a992b9e44dd990d083ee57f7f713
> Author:     planet36 <[email protected]>
> AuthorDate: Wed May 26 14:29:32 2021 -0400
> Commit:     drkhsh <[email protected]>
> CommitDate: Mon Dec 19 02:44:21 2022 +0100
> 
>     config.mk: Fix PREFIX assignment
>     
>     Signed-off-by: drkhsh <[email protected]>
> 
> diff --git a/config.mk b/config.mk
> index ead1859..8f06800 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -4,7 +4,7 @@ VERSION = 0
>  # customize below to fit your system
>  
>  # paths
> -PREFIX = /usr/local
> +PREFIX ?= /usr/local
>  MANPREFIX = $(PREFIX)/share/man
>  
>  X11INC = /usr/X11R6/include
> 

I would interject here that "?=" is not POSIX and assume that there was
push by some packager. Based on my experience, I would recommend to go
back to "=" and encourage packagers to simply do

        make PREFIX=...

which overrides any assignments in config.mk.

With best regards

Laslo

Reply via email to