mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
4c4c6d7c27
With hat: portmgr-secretary
32 lines
733 B
Makefile
32 lines
733 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libcwd
|
|
PORTVERSION= 1.0.6
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ Debugging Support Library
|
|
|
|
LICENSE= QPL10
|
|
LICENSE_NAME= Q Public License, Version 1.0
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.QPL
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= gmake pathfix pkgconfig libtool
|
|
USE_GCC= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-alloc --disable-location --disable-threading
|
|
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>
|