freebsd-ports/devel/umem/Makefile
Rui Paulo a7d222b6fe umem: fix the insta-crash of libumem
On amd64, libumem simply crashes because the size of the the cpu cache
structure is not a power of two. We need to pad it on LP64 architectures as
well.

Reviewed by:	bapt
Approved by:	bapt
2014-07-06 19:46:31 +00:00

25 lines
574 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= umem
PORTVERSION= 1.0.1
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://labs.omniti.com/portableumem/releases/${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Port of the Solaris memory allocator
USES= libtool:keepla tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386 amd64
MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's/ -ldl//g' ${WRKSRC}/Makefile.in
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>