summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/libcassandra/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/libcassandra/Makefile b/databases/libcassandra/Makefile
index bc5beab459c..a1b01ada894 100644
--- a/databases/libcassandra/Makefile
+++ b/databases/libcassandra/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/11/27 19:38:32 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2011/11/29 19:13:51 marino Exp $
#
DISTNAME= libcassandra-20101010
@@ -22,15 +22,19 @@ USE_TOOLS+= perl
# libthrift is not clean
BUILDLINK_TRANSFORM+= rm:-Wundef
+.include "../../mk/bsd.prefs.mk"
+
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/libthrift/buildlink3.mk"
+.if ${OPSYS} != "DragonFly"
.include "../../lang/gcc44/buildlink3.mk"
-
-.include "../../mk/bsd.prefs.mk"
+.endif
pre-configure:
+.if ${OPSYS} != "DragonFly"
.include "../../lang/gcc44/preconfigure.mk"
+.endif
CONFIGURE_ARGS+= CPPFLAGS="-I${BUILDLINK_PREFIX.libthrift}/include/thrift -I${BUILDLINK_PREFIX.boost-headers}/include/boost"
MAKE_ENV+= AM_DEFAULT_VERBOSITY=1