head 1.6; access; symbols pkgsrc-2026Q2:1.6.0.4 pkgsrc-2026Q2-base:1.6 pkgsrc-2026Q1:1.6.0.2 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.5.0.48 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.46 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.44 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.42 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.40 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.38 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.36 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.34 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.32 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.30 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.28 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.26 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.24 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.22 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.20 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.18 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.16 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.14 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.12 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.10 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.8 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.6 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.4.0.62 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.58 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.56 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.54 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.52 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.50 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.48 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.46 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.44 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.42 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.38 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.36 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.34 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.32 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.30 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.28 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.26 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.24 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.22 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.20 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.18 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.16 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.14 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.12 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.3.0.14 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.12 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.10 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.6 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.2 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.2.0.28 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.26 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.24 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.22 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.20 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.18 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.16 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.14 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2026.01.03.22.14.24; author wiz; state Exp; branches; next 1.5; commitid D0K2d86vQVoZQZoG; 1.5 date 2020.01.26.17.30.58; author rillig; state Exp; branches; next 1.4; commitid 4fBBvoSLJaGd0eUB; 1.4 date 2012.10.31.11.17.10; author asau; state Exp; branches; next 1.3; 1.3 date 2011.02.28.14.52.45; author wiz; state Exp; branches; next 1.2; 1.2 date 2008.02.22.08.12.58; author bjs; state Exp; branches; next 1.1; 1.1 date 2008.02.12.02.40.37; author bjs; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.02.12.02.40.37; author bjs; state Exp; branches; next ; desc @@ 1.6 log @libarena: use gmake to fix build on NetBSD-current @ text @# $NetBSD: Makefile,v 1.5 2020/01/26 17:30:58 rillig Exp $ DISTNAME= libarena-${SNAPSHOT_DATE} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_LOCAL} EXTRACT_SUFX= .tgz SNAPSHOT_DATE= 20080221 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.25thandclement.com/~william/projects/libarena.html COMMENT= Memory allocator API and implementation BUILD_TARGET= pic USE_FEATURES= getenv vsnprintf # XXX strsep should be added to USE_FEATURES USE_LIBTOOL= yes USE_TOOLS+= gmake EGDIR= ${PREFIX}/share/examples/${PKGBASE} pre-install: ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib && \ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/arena do-install: for fn in `eval ls ${WRKSRC}/src/*.h`; do \ ${INSTALL_DATA} $$fn ${DESTDIR}${PREFIX}/include/arena; \ done ${LIBTOOL} --mode=install ${INSTALL_LIB} \ ${WRKSRC}/src/${PKGBASE}.la ${DESTDIR}${PREFIX}/lib ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} && \ ${INSTALL_DATA} ${WRKSRC}/regress/stacked.c \ ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" @ 1.5 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.4 2012/10/31 11:17:10 asau Exp $ # d16 1 @ 1.4 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2011/02/28 14:52:45 wiz Exp $ d11 1 a11 1 HOMEPAGE= http://www.25thandclement.com/~william/projects/libarena.html @ 1.3 log @Reset maintainer for retired developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2008/02/22 08:12:58 bjs Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.2 log @ Update to 20080221 snapshot, primarily because I forgot to put a copy of this in LOCAL_PORTS. While here, add BUILDLINK_LDADD/LDFLAGS for convenience (LDFLAGS is set with =?). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2008/02/12 02:40:37 bjs Exp $ d10 1 a10 1 MAINTAINER= bjs@@NetBSD.org @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 2 DISTNAME= libarena-snapshot PKGNAME= libarena-${SNAPSHOT_DATE} d6 1 a6 1 MASTER_SITES= http://www.25thandclement.com/~william/projects/snapshots/ d8 1 a8 1 SNAPSHOT_DATE= 20080211 a15 2 WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} @ 1.1.1.1 log @ Import libarena, a BSD-licensed memory allocator abstraction API. Also included are four allocators which also serve as examples as to how to use the interface. AFAIK, it's sort of like vmem(9) in userland (not that I know much about vmem, for the manpage is quite terse, heh). I imported this not as a dependency, but because I thought it looked interesting, especially with regard to what's outlined in the last paragraph. I may use it in porting some linux audio software at some point, though that's still a ways off ... A short blurb: Libarena is a custom memory allocator interface and implementation. Four allocators are provided: flat LIFO arena allocator, object pool allocator and two malloc(3) wrappers: one which returns the pointers unadulterated and one which obeys the requested, arbitrary alignment. These can be used directly, or through their exported prototype interfaces. Libarena is meant to provide a baseline interface so allocator's can be stacked, and to provide a simple and well defined interface for libraries and applications without becoming mired in features or capabilities. It is not meant to restrict or confine what custom allocators can actually accomplish. For instance, the included pool and arena allocators include a suite of string utilities which aren't available in the generic exportable interface. Note that these string utilities are built upon a generic interface (see util.h) which can take the prototypical allocation context, so they are also available to any 3rd party compatible allocators. Surprisingly few malloc(3) library "replacements" or plug-in interfaces support a context pointer argument. They're useless for many or most of the tasks where the ability to specify an alternate malloc(3) could actually be useful, e.g. poor man's RAII. For network daemons especially this feature is useful; all allocations for a particular session can be freed simply by closing the lowest-level allocator object. @ text @@