Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 17:15:34 +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: r484203 - head/devel/liborcus
Message-ID:  <201811051715.wA5HFYkE009892@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Nov  5 17:15:34 2018
New Revision: 484203
URL: https://svnweb.freebsd.org/changeset/ports/484203

Log:
  Add USE_CXXSTD to fixes build on arches using GCC.
  
  Set USES=localbase:ldflags, instead of manually specifying CPPFLAGS
  and LDFLAGS.
  
  Tested on powerpc64 (just this port), amd64 (this port plus libreoffice).
  
  PR:		231447
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/liborcus/Makefile

Modified: head/devel/liborcus/Makefile
==============================================================================
--- head/devel/liborcus/Makefile	Mon Nov  5 17:07:33 2018	(r484202)
+++ head/devel/liborcus/Makefile	Mon Nov  5 17:15:34 2018	(r484203)
@@ -15,7 +15,8 @@ BUILD_DEPENDS=	${LOCALBASE}/include/mdds-1.2/mdds/glob
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs
 
 GNU_CONFIGURE=	yes
-USES=		compiler:c++11-lib libtool pathfix pkgconfig tar:xz
+USES=		compiler:c++11-lib libtool localbase:ldflags pathfix pkgconfig tar:xz
+USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
@@ -23,7 +24,5 @@ CONFIGURE_ARGS=	--disable-spreadsheet-model --disable-
 		--with-boost="${LOCALBASE}" \
 		--with-boost-system=boost_system \
 		--disable-python
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>



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