freebsd-ports/devel/libmalloc/Makefile
Satoshi Asami d81b732444 Mark this broken for 3.0:
-------
cc -c -g -I./splay -I/root/include -DHAVE_MMAP -DSTDHEADERS -DDEBUG -DTRACE -DPROFILESIZES _emalloc.c -o _emalloc.o
In file included from defs.h:51,
                 from _emalloc.c:5:
externs.h:110: conflicting types for `mmap'
/usr/include/stdio.h:282: previous declaration of `mmap'
*** Error code 1

Stop.
1998-11-28 01:48:32 +00:00

32 lines
811 B
Makefile

# New ports collection makefile for: Mark Moraes malloc library
# Version required: 1.18
# Date created: 11 January 1995
# Whom: jkh
#
# $Id: Makefile,v 1.13 1997/11/22 01:04:30 asami Exp $
#
DISTNAME= malloc-1.18
PKGNAME= libmalloc-1.18
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/
MAINTAINER= obrien@FreeBSD.org
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 300000
BROKEN= mmap prototype mismatch
.endif
MANUAL_PACKAGE_BUILD= installs malloc.h
post-install:
${LDCONFIG} -m ${PREFIX}/lib
@(cd ${PREFIX}/include ; ln -sf malloc.h libmalloc.h)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libmalloc
${INSTALL_DATA} ${WRKSRC}/malloc.doc ${PREFIX}/share/doc/libmalloc
${INSTALL_DATA} ${WRKSRC}/NOTE ${PREFIX}/share/doc/libmalloc
.endif
.include <bsd.port.post.mk>