pkgsrc/devel/boost-headers/Makefile
wiz dde703fad3 boost-headers: do not generate user.hpp during configure.
Use the pregenerated file instead.
The configure step is only intended to be used as a base
when porting to new platforms, and as-is it didn't use the
same flags that were used in other places.

See https://github.com/boostorg/config/issues/240 for more details.

Bump PKGREVISION.
2018-12-02 14:32:17 +00:00

24 lines
606 B
Makefile

# $NetBSD: Makefile,v 1.52 2018/12/02 14:32:17 wiz Exp $
BOOST_PACKAGE= headers
BOOST_COMMENT= (build-time headers)
BOOST_CONFIG= generate
PKGREVISION= 1
.include "../../meta-pkgs/boost/Makefile.common"
BJAM_ARGS+= --without-\*
NO_BUILD= yes
.include "../../devel/boost-jam/bjam.mk"
do-install: bjam-install
${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} +
${FIND} ${DESTDIR}${PREFIX}/include/boost \
-type d -exec ${CHMOD} ${PKGDIRMODE} {} +
PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"