ports/187311: [MAINTAINER UPDATE] Fix math/stp build for FreeBSD 9.1

arrowdodger 6yearold at gmail.com
Thu Mar 6 06:50:01 UTC 2014


>Number:         187311
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Fix math/stp build for FreeBSD 9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 06:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     arrowdodger
>Release:        10-STABLE
>Organization:
>Environment:
>Description:
Use flex from ports on FreeBSD 9.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/math/stp/Makefile ./Makefile
--- /usr/ports/math/stp/Makefile	2014-03-03 20:21:03.000000000 +0400
+++ ./Makefile	2014-03-06 10:48:03.174529078 +0400
@@ -23,6 +23,9 @@
 
 .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)


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list