summaryrefslogtreecommitdiff
path: root/devel/electric-fence/Makefile
blob: 34aec81230b6448a3c7b26e31ef3f7076bd30861 (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
32
33
34
# $NetBSD: Makefile,v 1.4 2012/06/16 07:46:55 dholland Exp $

DISTNAME=		electric-fence_2.1.13-0.1
PKGNAME=		electric-fence-2.1.13.0.1
PKGREVISION=		1
CATEGORIES=		devel
MASTER_SITES=		http://perens.com/works/software/ElectricFence/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://perens.com/FreeSoftware/
COMMENT=		Different kind of malloc() debugger

CONFLICTS+=		ElectricFence-[0-9]*
PREV_PKGPATH=		devel/electricfence
SUPERSEDES=		ElectricFence<=2.1.13.0.1

PKG_DESTDIR_SUPPORT=	user-destdir
USE_LIBTOOL=		yes
WRKSRC=			${WRKDIR}/${DISTNAME:C/-0.1//1:C/_/-/1}

MAKE_FLAGS=		INSTALL_MAN=${INSTALL_MAN:Q}
PTHREAD_AUTO_VARS=	yes
AUTO_MKDIRS=		yes

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "mipsel" || ${OPSYS} == "DragonFly"
CFLAGS+=		-g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
.else
CFLAGS+=		-g
.endif

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"