blob: 9bc069f91eea0256da071c2c8c3184d989143e65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# ex:ts=8
# Ports collection makefile for: libcwd
# Date created: Nov 10, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libcwd
PORTVERSION= 1.0.4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= The C++ Debugging Support Library
USE_GNOME= gnomehack pkgconfig
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-alloc --disable-location --disable-threading \
--disable-pch
USE_LDCONFIG= yes
CFLAGS+= -D__GNU_LIBRARY__
post-patch:
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g ; \
s|localtime(|localtime((const time_t *)|g' ${WRKSRC}/debugmalloc.cc
.include <bsd.port.mk>
|