Fix ordering of event handler vs queue modification. This can result in queue corruption or use after free when the master can't handle a request before the next arrives. From Matt Dillon.
34 lines
683 B
Makefile
34 lines
683 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/08/23 18:02:04 joerg Exp $
|
|
|
|
DISTNAME= pbulk-base-0.39
|
|
COMMENT= Core components of the modular bulk build framework
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../pkgtools/pbulk/Makefile.common"
|
|
|
|
USE_FEATURES= nbcompat
|
|
USE_TOOLS+= groff nroff
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
CONFLICTS= pbulk<0.39
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
LDADD+= -lsocket -lresolv
|
|
MAKE_ENV+= LDADD=${LDADD:Q}
|
|
.endif
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
CPPFLAGS+= -D_GNU_SOURCE
|
|
.endif
|
|
|
|
BUILD_DIRS= lib pbuild presolve pscan
|
|
|
|
do-extract:
|
|
${CP} -r ${FILESDIR}/pbulk ${WRKDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|