blob: 7d018ccac4cde669ed851c183abe6697907cfc8c (
plain) (
blame)
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
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= libcwd
PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Debugging Support Library
USES= gmake pathfix pkgconfig libtool
# Fails to build with GCC 4.9, cf. PR 196852
USE_GCC= 4.8
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-alloc --disable-location --disable-threading \
--disable-pch
INSTALL_TARGET= install-strip
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>
|