summaryrefslogtreecommitdiff
path: root/devel/vanessa_logger/Makefile
blob: 6ec34b1476c674401d0265d250d35f24cbf7cd7c (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
# $NetBSD: Makefile,v 1.9 2012/10/31 11:19:53 asau Exp $

DISTNAME=	vanessa_logger-0.0.8
CATEGORIES=	devel
MASTER_SITES=	http://www.vergenet.net/linux/vanessa/download/vanessa_logger/0.0.8/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.vergenet.net/linux/vanessa/
COMMENT=	Library that provides a generic logging layer

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

# The SunPro compiler does not understand __FUNCTION__, as well as
# __func__. So __FILE__ is the nearest replacement.
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
SUBST_CLASSES+=			__function__
SUBST_STAGE.__function__=	post-patch
SUBST_FILES.__function__=	libvanessa_logger/vanessa_logger.h
SUBST_SED.__function__=		-e "s|__FUNCTION__|__FILE__|g"
.endif

.include "../../mk/bsd.pkg.mk"