b4e65fc8bb
go-bytebufferpool is an implementation of a pool of byte buffers with anti-memory-waste protection. The pool may waste limited amount of memory due to fragmentation. This amount equals to the maximum total size of the byte buffers in concurrent use.
15 lines
504 B
Makefile
15 lines
504 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 10:56:14 ng0 Exp $
|
|
|
|
BUILDLINK_TREE+= go-bytebufferpool
|
|
|
|
.if !defined(GO_BYTEBUFFERPOOL_BUILDLINK3_MK)
|
|
GO_BYTEBUFFERPOOL_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_CONTENTS_FILTER.go-bytebufferpool= ${EGREP} gopkg/
|
|
BUILDLINK_DEPMETHOD.go-bytebufferpool?= build
|
|
|
|
BUILDLINK_API_DEPENDS.go-bytebufferpool+= go-bytebufferpool>=1.0.0
|
|
BUILDLINK_PKGSRCDIR.go-bytebufferpool?= ../../devel/go-bytebufferpool
|
|
.endif # GO_BYTEBUFFERPOOL_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -go-bytebufferpool
|