svn commit: r493820 - head/math/gfanlib

Mark Linimon linimon at FreeBSD.org
Sun Feb 24 22:13:26 UTC 2019


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


More information about the svn-ports-all mailing list