aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/log4cpp/Makefile9
-rw-r--r--devel/log4cpp/distinfo2
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/log4cpp/Makefile b/devel/log4cpp/Makefile
index dfe5528a1cb7..bf72e6b42532 100644
--- a/devel/log4cpp/Makefile
+++ b/devel/log4cpp/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= log4cpp
-PORTVERSION= 0.3.4
+PORTVERSION= 0.3.4b
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,9 +17,12 @@ COMMENT= A library of C++ classes for flexible logging
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --with-pthreads
+CONFIGURE_ARGS= --with-pthreads --disable-html-docs
INSTALLS_SHLIB= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's| -pedantic||g' ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/devel/log4cpp/distinfo b/devel/log4cpp/distinfo
index c20d46ebbffe..572b19da69e5 100644
--- a/devel/log4cpp/distinfo
+++ b/devel/log4cpp/distinfo
@@ -1 +1 @@
-MD5 (log4cpp-0.3.4.tar.gz) = 6e652f9a946cfb3e9fd7aa948380734e
+MD5 (log4cpp-0.3.4b.tar.gz) = 8051f012fcc58173e8015710d449457a