pkgsrc/devel/electricfence/Makefile
joerg 4733491d22 DragonFly uses SIGBUS for access violations. Fix the vprint
implementation, va_arg of a char violates C promotion rules.
The builtin of newer GCC versions would call abort() in that case.
2006-01-08 20:25:34 +00:00

26 lines
665 B
Makefile

# $NetBSD: Makefile,v 1.10 2006/01/08 20:25:34 joerg Exp $
DISTNAME= ElectricFence-2.1
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.perens.com/pub/ElectricFence/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.perens.com/FreeSoftware/
COMMENT= Different kind of malloc() debugger
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "mipsel" || ${OPSYS} == "DragonFly"
CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
.else
CFLAGS+= -g
.endif
INSTALLATION_DIRS= lib man/man3
do-install:
${INSTALL_DATA} ${WRKSRC}/libefence.a ${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/libefence.3 ${PREFIX}/man/man3
.include "../../mk/bsd.pkg.mk"