pkgsrc/devel/boost-headers/Makefile
jmmv 60cf8631c9 Apply patches to fix CVE-2008-0171 in boost-headers and boost-libs.
This is a fix for a possible DoS when using Boost.Regex in an application.

Note that the fix goes into a header, so all applications that use
Boost.Regex may be affected by the problem and need to be rebuilt.
2008-04-28 21:35:25 +00:00

28 lines
677 B
Makefile

# $NetBSD: Makefile,v 1.11 2008/04/28 21:35:25 jmmv Exp $
#
BOOST_PACKAGE= headers
BOOST_COMMENT= (build-time headers)
BOOST_CONFIG= generate
PKGREVISION= 1
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --without-* # disable all libraries
.include "../../devel/boost-jam/bjam.mk"
do-build:
do-install: bjam-install
${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"