aboutsummaryrefslogtreecommitdiff
path: root/math/stp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-06 16:05:32 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-06 16:05:32 +0000
commit6e5fbfc9a83b8694357e8a0cb28bd2cf45a35917 (patch)
treeb8bdb226dd4db3dcfc40f324366433a0ccae46f0 /math/stp
parentec61f7dd1b9fdb474ca6372e3f9132fd06ea9aa5 (diff)
downloadports-6e5fbfc9a83b8694357e8a0cb28bd2cf45a35917.tar.gz
ports-6e5fbfc9a83b8694357e8a0cb28bd2cf45a35917.zip
Fix math/stp build for FreeBSD 9.x
PR: 187311 Submitted by: arrowdodger <6yearold@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=347264
Diffstat (limited to 'math/stp')
-rw-r--r--math/stp/Makefile3
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)