Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 06:48:47 GMT
From:      arrowdodger <6yearold@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187311: [MAINTAINER UPDATE] Fix math/stp build for FreeBSD 9.1
Message-ID:  <201403060648.s266mlYN005792@cgiserv.freebsd.org>
Resent-Message-ID: <201403060650.s266o0ZG048319@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403060648.s266mlYN005792>