Creating a new port, overriding a Makefile variable

Chris Rees utisoft at gmail.com
Tue Mar 8 17:11:31 UTC 2011


On 8 Mar 2011 17:04, "David Demelier" <demelier.david at gmail.com> wrote:
>
> Hello,
>
> I'm writing a port for a game, I setup a MANPREFIX= /share/man for almost
all the systems to install in the correct place.
>
> In the port Makefile I've tried to use MAKE_ENV= MANPREFIX=/man to
override it, but it seems it's ignored.
>
> Can I solve this without creating a files/patch-Makefile?
>
> Cheers,
>
> --
> David Demelier
>

If It's hard set in the Makefile, I'd use REINPLACE_CMD.

Chris


More information about the freebsd-ports mailing list