# $NetBSD: Makefile,v 1.5 2012/10/31 11:17:17 asau Exp $ # DISTNAME= libmemcached-1.0.4 CATEGORIES= devel MASTER_SITES= http://launchpad.net/libmemcached/1.0/${PKGVERSION}/+download/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://libmemcached.org/ COMMENT= C/C++ client library and tools for the memcached server LICENSE= modified-bsd GNU_CONFIGURE= yes USE_TOOLS+= pkg-config gmake USE_LANGUAGES= c c++ USE_LIBTOOL= yes PKGCONFIG_OVERRIDE+= support/libmemcached.pc.in .include "../../mk/bsd.prefs.mk" # Avoid building 64bit on a 32bit bootstrap (affects SunOS) .if defined(ABI) && empty(ABI:M64) CONFIGURE_ARGS+= --disable-64bit .endif # for backtrace .if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) LIBS+= -lexecinfo .endif .include "../../mk/bsd.pkg.mk"