svn commit: r324150 - head/astro/aa

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 2 07:51:07 UTC 2013


On Fri, Aug 02, 2013 at 07:48:08AM +0000, Antoine Brodin wrote:
> Author: antoine
> Date: Fri Aug  2 07:48:07 2013
> New Revision: 324150
> URL: http://svnweb.freebsd.org/changeset/ports/324150
> 
> Log:
>   Fix without gcc
> 
> Modified:
>   head/astro/aa/Makefile
> 
> Modified: head/astro/aa/Makefile
> ==============================================================================
> --- head/astro/aa/Makefile	Fri Aug  2 07:32:02 2013	(r324149)
> +++ head/astro/aa/Makefile	Fri Aug  2 07:48:07 2013	(r324150)
> @@ -32,7 +32,7 @@ post-patch:
>  	@${REINPLACE_CMD} \
>  		's|%%PREFIX%%|${PREFIX}|g ; s|%%DATADIR%%|${DATADIR}|g' \
>  		${WRKSRC}/kfiles.c
> -	@${REINPLACE_CMD} 's|CFLAGS=  -O2|CFLAGS+=|' ${WRKSRC}/makefile
> +	@${REINPLACE_CMD} 's|CFLAGS=  -O2|CFLAGS+=| ; s|CC=|CC?=|' ${WRKSRC}/makefile

Why not using MAKE_ARGS= CC=${CC} here?

That is how make(1) is designed to work, All variable are always overwritable by
args, ?= is only to allow to overwrite from env.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20130802/de7b07bc/attachment.sig>


More information about the svn-ports-head mailing list