pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Inform 6 package needs updating, listed maintaner hasn't been active in a decade.



On Thu, Jul 27, 2017 at 04:05:10PM -0500, J. Lewis Muir wrote:
> Why this change to the PREFIX variable assignment?  I know from the
> make(1) man page that "?=" means "assign the value to the variable if
> it is not already defined," but I think that applies to just within the
> Makefile, no?  By the "Allow overriding PREFIX" comment at the top of
> the patch file, do you mean specifying command line arguments to make of
> the form <var_name>=<value>?  So, for example:
> 
> $ make PREFIX=/opt/pkg
> 
> I think that still works with "PREFIX = /usr/local" in Makefile; the
> value of PREFIX in the Makefile will be "/opt/pkg" for this invocation.
> I don't think you need the "?=" variable assignment modifier for this
> case.  Or is there a different use case you're targeting, or am I
> missing something?

I think the difference is MAKE_ENV vs. MAKE_FLAG. we seem to put
PREFIX=/usr/pkg as an environment variable.

I don't know if it's correct..


Home | Main Index | Thread Index | Old Index