freebsd-ports/devel/liborcus/Makefile
Mark Linimon 13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00

29 lines
747 B
Makefile

# $FreeBSD$
PORTNAME= liborcus
PORTVERSION= 0.13.4
PORTREVISION= 1
CATEGORIES= devel misc
MASTER_SITES= http://kohei.us/files/orcus/src/
MAINTAINER= office@FreeBSD.org
COMMENT= Standalone file import filter library for spreadsheet documents
LICENSE= MPL20
BUILD_DEPENDS= ${LOCALBASE}/include/mdds-1.2/mdds/global.hpp:devel/mdds
LIB_DEPENDS= libboost_system.so:devel/boost-libs
GNU_CONFIGURE= yes
USES= compiler:c++11-lib libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-spreadsheet-model --disable-werror \
--with-boost="${LOCALBASE}" \
--with-boost-system=boost_system \
--disable-python
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>