mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
c78f00249b
- mbuffer needs C99 function, atoll(3), which is not available on 4.x
39 lines
770 B
Makefile
39 lines
770 B
Makefile
# New ports collection makefile for: mbuffer
|
|
# Date created: Dec 14 2006
|
|
# Whom: Rong-En Fan <rafan@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mbuffer
|
|
PORTVERSION= 2006.07.28
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rafan@FreeBSD.org
|
|
COMMENT= A tool for buffering data streams
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/mbuffer
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= needs C99 functions
|
|
.endif
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
|
|
CFLAGS+= -m64
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|