openbsd-ports/devel/log4c/Makefile
2013-03-11 10:50:00 +00:00

31 lines
656 B
Makefile

# $OpenBSD: Makefile,v 1.3 2013/03/11 10:50:11 espie Exp $
COMMENT= logging for c library
DISTNAME= log4c-1.2.1
REVISION= 0
SHARED_LIBS += log4c 0.0 # 4.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4c/}
HOMEPAGE= http://log4c.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += expat
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= ac_cv_path_DOT="" \
ac_cv_path_DOXYGEN="" \
ac_cv_path_LATEX=""
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/log4c/
pre-configure:
perl -pi -e 's,-lpthread,-pthread,g' ${WRKSRC}/configure
.include <bsd.port.mk>