Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2013 02:45:36 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        William Grzybowski <wg@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r327649 - in head/net/libnatpmp: . files
Message-ID:  <20130921024536.GB19307@FreeBSD.org>
In-Reply-To: <201309192142.r8JLgO5A046568@svn.freebsd.org>
References:  <201309192142.r8JLgO5A046568@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 19, 2013 at 09:42:24PM +0000, William Grzybowski wrote:
> New Revision: 327649
> URL: http://svnweb.freebsd.org/changeset/ports/327649
> 
> Log:
>   net/libnatpmp: fix build without gcc
>   
>   - Fix build without gcc [1]

[...]

> +--- Makefile.orig	2013-09-20 03:13:32.533531973 +0800
> ++++ Makefile	2013-09-20 03:13:40.954532152 +0800
> +@@ -5,7 +5,7 @@
> + # http://miniupnp.free.fr/libnatpmp.html
> + 
> + OS = $(shell uname -s)
> +-CC = gcc
> ++CC ?= gcc
> + INSTALL = install
> + 
> + # APIVERSION is used in soname

Given simplicity of the patch, perhaps adding CC="${CC}" to MAKE_ARGS would
allow to avoid it?

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130921024536.GB19307>