Date: Tue, 8 Mar 2011 21:02:15 +0000 (UTC) From: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: Re: Creating a new port, overriding a Makefile variable Message-ID: <il65gn$1u8j$2@lorvorc.mips.inka.de> References: <4D766181.6020809@gmail.com> <AANLkTimwMq2XmBsK8_g9pCEnkEZLZRQoxLwC4nzBp-7%2B@mail.gmail.com> <AANLkTinknxKQK99_9pjxesXnRw%2BuL9bqTZqWeFQ3pxX=@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees <utisoft@gmail.com> wrote: > >> In the port Makefile I've tried to use MAKE_ENV= MANPREFIX=/man to > >> override it, but it seems it's ignored. > > MAKE_ARGS= -EMANPREFIX > MAKE_ENV= MANPREFIX=/man > > NB gmake doesn't have the -E flag, but the -e flag sets environment > precedence on all variables. Sounds risky! Just use MAKE_ARGS= MANPREFIX=/man Variables set on the command line override Makefile settings. (So says POSIX.) -- Christian "naddy" Weisgerber naddy@mips.inka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?il65gn$1u8j$2>