1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on 10.x.

Approved by:	bapt
This commit is contained in:
Alex Dupre 2014-06-12 12:42:49 +00:00
parent db39f257d0
commit 45e1ad7d5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357590

View File

@ -19,8 +19,7 @@ OPTIONS_DEFINE= DOCS
CONFIGURE_ARGS= --disable-werror CONFIGURE_ARGS= --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
EXTRA_PATCHES+= ${FILESDIR}/0001-std-isfinite-is-C-11.patch:-p1 \ EXTRA_PATCHES+= ${FILESDIR}/0001-use-correct-type.patch:-p1
${FILESDIR}/0001-use-correct-type.patch:-p1
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= compiler:features libtool:keepla pathfix pkgconfig tar:xz USES= compiler:features libtool:keepla pathfix pkgconfig tar:xz
@ -38,6 +37,7 @@ CONFIGURE_ARGS+= --with-sharedptr=c++11
.else .else
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
CONFIGURE_ARGS+= --with-sharedptr=boost CONFIGURE_ARGS+= --with-sharedptr=boost
EXTRA_PATCHES+= ${FILESDIR}/0001-std-isfinite-is-C-11.patch:-p1
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>