diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-06-22 18:51:02 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-06-22 18:51:02 +0000 |
commit | 6b758b1d8105f0555c161a9bdc8d0f0c8a7d34b9 (patch) | |
tree | e95758fbbf40897cfd1da462818b462fbe6667c4 | |
parent | b588fa1b4d1ca8cc577aabaafe7d2f15ad982311 (diff) | |
download | pkgsrc-6b758b1d8105f0555c161a9bdc8d0f0c8a7d34b9.tar.gz |
Substitute hardcoded path to the C++ wrapper, fixing CHECK_WRKREF builds.
-rw-r--r-- | graphics/vtk/Makefile.vtkdist | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/vtk/Makefile.vtkdist b/graphics/vtk/Makefile.vtkdist index 22dc32d0d9f..4fa0a488a58 100644 --- a/graphics/vtk/Makefile.vtkdist +++ b/graphics/vtk/Makefile.vtkdist @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.vtkdist,v 1.9 2007/05/18 07:50:11 obache Exp $ +# $NetBSD: Makefile.vtkdist,v 1.10 2015/06/22 18:51:02 jperkin Exp $ .include "../../graphics/vtk/Makefile.common" @@ -20,6 +20,11 @@ VTK_CMAKE_OPT+= -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX:Q} \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \ -DVTK_USE_HYBRID:BOOL=ON +SUBST_CLASSES+= fixwrap +SUBST_STAGE.fixwrap= post-build +SUBST_FILES.fixwrap= vtkConfigure.h +SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/c++,${CXXPATH},g" + do-configure: cd ${WRKSRC} && cmake . ${VTK_CMAKE_OPT} |