168d41abbc
here. Based on patches sent by Brook Milligan through private mail with some minimal changes by me to fix boost-python and builds on Mac OS X. Tested on NetBSD/amd64 current and Tiger.
26 lines
660 B
Makefile
26 lines
660 B
Makefile
# $NetBSD: Makefile,v 1.12 2008/09/13 16:14:13 jmmv Exp $
|
|
#
|
|
|
|
BOOST_PACKAGE= headers
|
|
BOOST_COMMENT= (build-time headers)
|
|
BOOST_CONFIG= generate
|
|
|
|
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"
|