diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/stp/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/stp/Makefile b/math/stp/Makefile index 61f4683fafce..1f6cfed8e01c 100644 --- a/math/stp/Makefile +++ b/math/stp/Makefile @@ -23,6 +23,9 @@ CMAKE_ARGS= -DFL_LIBRARY=/usr/lib/libfl.a .if (${OSVERSION} < 1000000) BUILD_DEPENDS+=flex>=2.5.38:${PORTSDIR}/textproc/flex +CMAKE_ARGS= -DFL_LIBRARY=${LOCALBASE}/lib/libfl.a \ + -DFLEX_INCLUDE_DIR=${LOCALBASE}/include/flex \ + -DFLEX_EXECUTABLE=${LOCALBASE}/bin/flex .endif .if (${OSVERSION} < 802502) |