aboutsummaryrefslogtreecommitdiff
path: root/devel/log4cplus
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-14 09:42:12 +0000
commit03cceed935615886af3d9551e9fb9b573ce3744a (patch)
treefefb362514ed477cab8a0c201ef842c790185635 /devel/log4cplus
parentf2a68ebb7a9de69a3ae4d9df85ad0471ad8deab9 (diff)
downloadports-03cceed935615886af3d9551e9fb9b573ce3744a.tar.gz
ports-03cceed935615886af3d9551e9fb9b573ce3744a.zip
Notes
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)