Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2019 22:13:25 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493820 - head/math/gfanlib
Message-ID:  <201902242213.x1OMDP9W078376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Feb 24 22:13:25 2019
New Revision: 493820
URL: https://svnweb.freebsd.org/changeset/ports/493820

Log:
  Add USES=compiler:c++11-lang to fix build on GCC-based architectures.
  
  While here, add USES=localbase to simplify.
  
  PR:		235978
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Modified:
  head/math/gfanlib/Makefile

Modified: head/math/gfanlib/Makefile
==============================================================================
--- head/math/gfanlib/Makefile	Sun Feb 24 22:10:43 2019	(r493819)
+++ head/math/gfanlib/Makefile	Sun Feb 24 22:13:25 2019	(r493820)
@@ -16,11 +16,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/cdd/cdd.h:math/cddlib
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		gmake
+USES=		compiler:c++11-lang gmake localbase
 
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include \
-		-I${LOCALBASE}/include/cdd
+CPPFLAGS+=	-I${LOCALBASE}/include/cdd
 
 CONFIGURE_WRKSRC=	${WRKSRC}/gfanlib
 BUILD_WRKSRC=		${WRKSRC}/gfanlib



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