diff --git a/srcpkgs/boost/patches/install-strip-destdir.patch b/srcpkgs/boost/patches/install-strip-destdir.patch index 61047c5967b..d931a5d4117 100644 --- a/srcpkgs/boost/patches/install-strip-destdir.patch +++ b/srcpkgs/boost/patches/install-strip-destdir.patch @@ -1,3 +1,9 @@ +boost doesn't support DESTDIR or something like that, +hence, we need --prefix=$DESTDIR/usr. + +However --prefix=$DESTDIR/usr adds $DESTDIR into +its cmake config. This patch strips $DESTDIR out +of cmake config --- a/tools/boost_install/boost-install.jam +++ b/tools/boost_install/boost-install.jam @@ -678,6 +678,16 @@ local rule path-native-fwd ( path )