Require boost in build dependency if OpenXML plugin enable to fix the build.

Reported by:	pointyhat via pav
This commit is contained in:
Jeremy Messenger 2008-04-07 22:19:26 +00:00
parent adf2da2345
commit 216796c3d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210781

View file

@ -217,11 +217,13 @@ PLIST_SUB+= OPENWRITER:="@comment "
.endif
.if defined(WITH_OPENXML) || defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
USE_GNOME+= libgsf
CONFIGURE_ARGS+= --enable-OpenXML
PLIST_SUB+= OPENXML:=""
.else
CONFIGURE_ARGS+= --disable-OpenXML
CONFIGURE_ARGS+= --disable-OpenXML \
--without-boost
PLIST_SUB+= OPENXML:="@comment "
.endif