summaryrefslogtreecommitdiff
path: root/devel/boost-headers/Makefile
blob: caf0626175488cf6cfc5a7908cea332856c5abb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.7 2006/07/01 19:38:00 jmmv Exp $
#

BOOST_PACKAGE=		headers
BOOST_COMMENT=		(build-time headers)
BOOST_CONFIG=		generate

.include "../../meta-pkgs/boost/Makefile.common"

BJAM_ARGS+=		--with-unknown # disable all libraries

.include "../../devel/boost-build/bjam.mk"

# The following is a quick hack to let boost compile under NetBSD with GCC 4.
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-4.*)
post-configure:
	${ECHO} "#define BOOST_NO_STD_WSTREAMBUF" \
		>>${WRKSRC}/boost/config/user.hpp
.endif

do-build:

do-install: bjam-install
	${FIND} ${PREFIX}/include/boost \
		-type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
	${FIND} ${PREFIX}/include/boost \
		-type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}

PTHREAD_OPTS+=		require
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"