Bug 187311 - [MAINTAINER UPDATE] Fix math/stp build for FreeBSD 9.1
Summary: [MAINTAINER UPDATE] Fix math/stp build for FreeBSD 9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 06:50 UTC by Gleb Popov
Modified: 2014-03-10 13:29 UTC (History)
0 users

See Also:


Attachments
file.diff (459 bytes, patch)
2014-03-06 06:50 UTC, Gleb Popov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Popov freebsd_committer 2014-03-06 06:50:00 UTC
Use flex from ports on FreeBSD 9.

Fix: Patch attached with submission follows:
Comment 1 Emanuel Haupt freebsd_committer 2014-03-06 15:57:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

I will take care of it.
Comment 2 dfilter service freebsd_committer 2014-03-06 16:05:39 UTC
Author: ehaupt
Date: Thu Mar  6 16:05:32 2014
New Revision: 347264
URL: http://svnweb.freebsd.org/changeset/ports/347264
QAT: https://qat.redports.org/buildarchive/r347264/

Log:
  Fix math/stp build for FreeBSD 9.x
  
  PR:		187311
  Submitted by:	arrowdodger <6yearold@gmail.com> (maintainer)

Modified:
  head/math/stp/Makefile

Modified: head/math/stp/Makefile
==============================================================================
--- head/math/stp/Makefile	Thu Mar  6 15:55:26 2014	(r347263)
+++ head/math/stp/Makefile	Thu Mar  6 16:05:32 2014	(r347264)
@@ -23,6 +23,9 @@ CMAKE_ARGS=	-DFL_LIBRARY=/usr/lib/libfl.
 
 .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)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Emanuel Haupt freebsd_committer 2014-03-10 13:29:18 UTC
State Changed
From-To: open->closed

Committed, thanks!