2013-09-23 15:55:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/09/23 13:55:50 obache Exp $
|
2011-04-27 17:05:06 +02:00
|
|
|
#
|
|
|
|
|
2013-07-02 10:59:03 +02:00
|
|
|
DISTNAME= log4cplus-1.1.1
|
2013-07-02 20:21:13 +02:00
|
|
|
PKGREVISION= 1
|
2011-04-27 17:05:06 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4cplus/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
|
|
HOMEPAGE= http://log4cplus.sourceforge.net/
|
|
|
|
COMMENT= Logging API for C++
|
|
|
|
LICENSE= apache-2.0 AND 2-clause-bsd
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_LANGUAGES= c c++ # C for configure
|
|
|
|
|
2012-11-16 01:44:34 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CPPFLAGS+= -Werror=ignored-attributes
|
|
|
|
.endif
|
|
|
|
|
2013-07-02 20:21:13 +02:00
|
|
|
CHECK_BUILTIN.pthread:= yes
|
|
|
|
.include "../../mk/pthread.builtin.mk"
|
|
|
|
CHECK_BUILTIN.pthread:= no
|
|
|
|
|
2013-09-23 15:55:50 +02:00
|
|
|
# TLS is not supported by NetBSD<6
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
|
|
|
|
CONFIGURE_ENV+= ac_cv_thread_local=no
|
|
|
|
CONFIGURE_ENV+= ac_cv__thread_keyword=no
|
|
|
|
.endif
|
|
|
|
|
2011-04-27 17:05:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|