# ex:ts=8
# Ports collection makefile for:	libcwd
# Date created:			Nov 10, 2003
# Whom:				ijliao
#
# $FreeBSD: ports/devel/libcwd/Makefile,v 1.6 2004/03/14 02:57:57 kris Exp $
#

PORTNAME=	libcwd
PORTVERSION=	0.99.31
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The C++ Debugging Support Library

USE_GCC=	3.3
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-threading
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 501103
# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
MAKE_ENV+=	CC="${CC}" CXX="${CXX}"
.endif

# dirty hack
post-configure:
	@${CP} -f ${WRKSRC}/include/sys.ho ${WRKSRC}/include/sys.h

.include <bsd.port.post.mk>
