33 lines
818 B
Makefile
33 lines
818 B
Makefile
# $NetBSD: Makefile,v 1.6 2013/05/04 12:43:50 joerg 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
|
|
|
|
CPPFLAGS+= -D__STDC_FORMAT_MACROS
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|