blob: 1c62def498123bab42a1fe58700746a61bd1f92a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $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"
|