aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-04-08 06:19:26 +0800
committermezz <mezz@FreeBSD.org>2008-04-08 06:19:26 +0800
commit7b7bd62f9d9b6c54728e1ef847740619e458b4b4 (patch)
treeab98738aeaba079f01e2afdc47c6ed4daef891d4
parent615fc7fd6cf70ed89d935ef1507bbf6702c1294c (diff)
downloadfreebsd-ports-gnome-7b7bd62f9d9b6c54728e1ef847740619e458b4b4.tar.gz
freebsd-ports-gnome-7b7bd62f9d9b6c54728e1ef847740619e458b4b4.tar.zst
freebsd-ports-gnome-7b7bd62f9d9b6c54728e1ef847740619e458b4b4.zip
Require boost in build dependency if OpenXML plugin enable to fix the build.
Reported by: pointyhat via pav
-rw-r--r--editors/abiword-plugins/Makefile4
1 files changed, 3 insertions, 1 deletions
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