aboutsummaryrefslogtreecommitdiff
path: root/devel/umem/Makefile
blob: de8c6a7f72f30ced8a09a645b31f8920ee02db17 (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
29
30
31
32
33
# New ports collection makefile for:	umem
# Date created:				02 October 2006
# Whom:	      				Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	umem
PORTVERSION=	1.0
CATEGORIES=	devel
MASTER_SITES=	https://labs.omniti.com/portableumem/releases/${PORTVERSION}/

MAINTAINER=	leeym@FreeBSD.org
COMMENT=	A port of the Solaris memory allocator

USE_BZIP2=	yes
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool:15

post-patch:
	@${REINPLACE_CMD} -e 's/ -ldl//g' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e '/objformat/s/aout/elf/g' ${WRKSRC}/${CONFIGURE_SCRIPT}

MAN3=		umem_alloc.3 umem_cache_create.3 umem_debug.3

.include <bsd.port.pre.mk>

# pthread
.if ${OSVERSION} < 502102
IGNORE=		requires FreeBSD 5.2.1 or above
.endif

.include <bsd.port.post.mk>