[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / libcassandra

File: [cvs.NetBSD.org] / pkgsrc / databases / libcassandra / Makefile (download)

Revision 1.8, Tue Nov 29 19:13:51 2011 UTC (7 years, 10 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.7: +7 -3 lines

databases/libcassandra: DragonFly: Remove dependency on lang/gcc44

DragonFly is capable of building libcassandra without lang/gcc44.

# $NetBSD: Makefile,v 1.8 2011/11/29 19:13:51 marino Exp $
#

DISTNAME=		libcassandra-20101010
PKGREVISION=		3
CATEGORIES=		databases
MASTER_SITES=		ftp://ftp.ancient-solutions.com/pub/bsdprojects/NetBSD/packages/distfiles/

MAINTAINER=		tonnerre@NetBSD.org
HOMEPAGE=		http://github.com/posulliv/libcassandra/
LICENSE=		modified-bsd

PKG_DESTDIR_SUPPORT=	user-destdir

COMMENT=		C++ interface to Cassandra

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
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"
.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

.include "../../mk/bsd.pkg.mk"