svn commit: r484203 - head/devel/liborcus
Mark Linimon
linimon at FreeBSD.org
Mon Nov 5 17:15:35 UTC 2018
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>
More information about the svn-ports-all
mailing list