[139491] trunk/dports/graphics/mkhexgrid

Ryan Schmidt ryandesign at macports.org
Mon Sep 7 20:01:04 PDT 2015


> On Aug 18, 2015, at 2:03 PM, snc at macports.org wrote:
> 
> Revision
> 139491
> Author
> snc at macports.org
> Date
> 2015-08-18 12:03:45 -0700 (Tue, 18 Aug 2015)
> Log Message
> 
> mkhexgrid: fix CXX to use the right compiler

> Modified: trunk/dports/graphics/mkhexgrid/files/patch-Makefile.diff (139490 => 139491)

> @@ -19,6 +19,7 @@
>  -CPPFLAGS=-c -g -O2 -W -Wall -DVERSION='"$(VERSION)"'
>  -LDFLAGS=-lm -lstdc++ -lgd
>  +CC=@@CC@@
> ++CXX=@@CC@@
>  +CPPFLAGS=-c -g -O2 -W -Wall -DVERSION='"$(VERSION)"' @@CPPFLAGS@@
>  +LDFLAGS=-lm -lstdc++ -lgd @@LDFLAGS@@

CC and CXX are being set to the same thing: the C compiler. Don't you want to set CXX to the C++ compiler instead?




More information about the macports-dev mailing list