pkgsrc/devel/boost-build/Makefile
adam 015cb6a9fa Changes 1.45.0:
* Fixed a problem on kqueue-based platforms where a deadline_timer
  may never fire if the io_service is running in a background thread
* Fixed a const-correctness issue that prevented valid uses of
  has_service<> from compiling
* Fixed MinGW cross-compilation
* Removed dependency on deprecated Boost.System functions
* Ensured close()/closesocket() failures are correctly propagated
* Added a check for errors returned by
  InitializeCriticalSectionAndSpinCount
* Added support for hardware flow control on QNX
* Always use pselect() on HP-UX, if it is available.
* Ensured handler arguments are passed as lvalues
* Fixed Windows build when thread support is disabled
* Fixed a Windows-specific problem where deadline_timer objects with
  expiry times set more than 5 minutes in the future may never expire
* Fixed the resolver backend on BSD platforms so that an empty service
  name resolves to port number 0, as per the documentation
* Fixed read operations so that they do not accept buffer sequences of
  type const_buffers_1
* Redefined Protocol and id to avoid clashing with Objective-C++ keywords
* Fixed a vector reallocation performance issue that can occur when
  there are many active deadline_timer objects
* Fixed the kqueue backend so that it compiles on NetBSD
* Fixed the socket io_control() implementation on 64-bit Mac OS X and
  BSD platforms
* Fixed a Windows-specific problem where failures from accept() are
  incorrectly treated as successes
* Deprecated the separate compilation header <boost/asio/impl/src.cpp>
  in favour of <boost/asio/impl/src.hpp>
2010-11-26 20:46:59 +00:00

49 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2010/11/26 20:46:59 adam Exp $
BOOST_PACKAGE= build
BOOST_COMMENT= (Boost.Build framework)
BOOST_CONFIG= no
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
.include "../../meta-pkgs/boost/Makefile.common"
SUBST_CLASSES+= confdir
SUBST_MESSAGE.confdir= Fixing path to site-config.jam.
SUBST_STAGE.confdir= pre-build
SUBST_FILES.confdir= tools/build/v2/build-system.jam
SUBST_SED.confdir= -e 's,/etc,${PKG_SYSCONFDIR},g'
EGDIR= ${PREFIX}/share/examples/boost-build
CONF_FILES= ${EGDIR}/site-config.jam \
${PKG_SYSCONFDIR}/site-config.jam
# contains /usr/bin/python
CHECK_INTERPRETER_SKIP= share/boost-build/example/customization/inline_file.py
CHECK_INTERPRETER_SKIP+=share/boost-build/tools/doxproc.py
CHECK_INTERPRETER_SKIP+=share/boost-build/test/*.py
# contains /bin/bash
CHECK_INTERPRETER_SKIP+=share/boost-build/nightly.sh
CHECK_INTERPRETER_SKIP+=share/boost-build/roll.sh
.include "toolset.mk"
post-extract:
${FIND} ${WRKSRC}/tools/build/v2 -type d -exec ${CHMOD} 755 {} \;
${FIND} ${WRKSRC}/tools/build/v2 -type f -exec ${CHMOD} 644 {} \;
do-build:
{ ${ECHO} '# System wide configuration file for Boost.Build.' ; \
${ECHO} ; \
${ECHO} 'using ${BOOST_TOOLSET} ;' ; } >${WRKDIR}/site-config.jam
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/boost-build
cd ${WRKSRC}/tools/build/v2 && pax -r -w -p pm -s ':^./engine.*$$::' \
-s ':^.*\.orig$$::' . ${DESTDIR}${PREFIX}/share/boost-build
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKDIR}/site-config.jam ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"