From 216796c3d5cd09ef8b57c40f757551c3309c72e0 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Mon, 7 Apr 2008 22:19:26 +0000 Subject: [PATCH] Require boost in build dependency if OpenXML plugin enable to fix the build. Reported by: pointyhat via pav --- editors/abiword-plugins/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editors/abiword-plugins/Makefile b/editors/abiword-plugins/Makefile index efbd00cc406e..d3be920d8efb 100644 --- a/editors/abiword-plugins/Makefile +++ b/editors/abiword-plugins/Makefile @@ -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