1 # $NetBSD: Makefile,v 1.7 2008/06/20 01:09:17 joerg Exp $
3 DISTNAME= vanessa_logger-0.0.8
5 MASTER_SITES= http://www.vergenet.net/linux/vanessa/download/vanessa_logger/0.0.8/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://www.vergenet.net/linux/vanessa/
10 COMMENT= Library that provides a generic logging layer
12 PKG_DESTDIR_SUPPORT= user-destdir
17 # The SunPro compiler does not understand __FUNCTION__, as well as
18 # __func__. So __FILE__ is the nearest replacement.
19 .include "../../mk/compiler.mk"
20 .if !empty(PKGSRC_COMPILER:Msunpro)
21 SUBST_CLASSES+= __function__
22 SUBST_STAGE.__function__= post-patch
23 SUBST_FILES.__function__= libvanessa_logger/vanessa_logger.h
24 SUBST_SED.__function__= -e "s|__FUNCTION__|__FILE__|g"
27 .include "../../mk/bsd.pkg.mk"