aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-07 00:05:32 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-07 00:05:32 +0800
commit9b3f2f85d7e7a94316b589ee7618a38496b15be4 (patch)
treeb8bdb226dd4db3dcfc40f324366433a0ccae46f0
parentea5cf50ed413aebaa5c98a83bbe9481e5cb2abbb (diff)
downloadfreebsd-ports-gnome-9b3f2f85d7e7a94316b589ee7618a38496b15be4.tar.gz
freebsd-ports-gnome-9b3f2f85d7e7a94316b589ee7618a38496b15be4.tar.zst
freebsd-ports-gnome-9b3f2f85d7e7a94316b589ee7618a38496b15be4.zip
Fix math/stp build for FreeBSD 9.x
PR: 187311 Submitted by: arrowdodger <6yearold@gmail.com> (maintainer)
-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)