aboutsummaryrefslogtreecommitdiff
path: root/devel/log4cplus
diff options
context:
space:
mode:
Diffstat (limited to 'devel/log4cplus')
-rw-r--r--devel/log4cplus/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile
index f94c018a594b..50f2ea56766e 100644
--- a/devel/log4cplus/Makefile
+++ b/devel/log4cplus/Makefile
@@ -14,20 +14,17 @@ DISTFILES= log4cplus-${PORTVERSION}.tar.bz2
MAINTAINER= reed@reedmedia.net
COMMENT= A logging library for C++
+USE_GCC= any
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-LDFLAGS+= ${PTHREAD_LIBS}
-CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ARGS+=--enable-threads=yes
MAKE_JOBS_UNSAFE= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-
post-install:
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/include/log4cplus
.if !defined(NOPORTDOCS)