mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
16a06ea402
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS. Where this fails due to ports not honoring C*FLAGS, patch using __FreeBSD_version to enable the definition. PR: 224300, 224443 (exp-run) Approved by: portmgr (antoine) Exp-run: antoine Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14137
27 lines
702 B
Makefile
27 lines
702 B
Makefile
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= buffer
|
|
PORTVERSION= 1.19
|
|
CATEGORIES= misc
|
|
MASTER_SITES= GENTOO \
|
|
http://www.mondorescue.org/download/MondoCD/TGZS/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Buffer sporadic I/O for faster tape and pipe throughput
|
|
|
|
USES= tar:tgz
|
|
PLIST_FILES= bin/buffer \
|
|
man/man1/buffer.1.gz
|
|
CFLAGS+= -D_WANT_SEMUN
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
|
|
-e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \
|
|
-e 's|^(INSTBIN[[:space:]]*=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \
|
|
-e 's|^(INSTMAN[[:space:]]*=).*$$|\1${STAGEDIR}${MAN1PREFIX}/man/man1|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|