svn commit: r354415 - head/devel/gputils
Tijl Coosemans
tijl at FreeBSD.org
Sun May 18 12:59:37 UTC 2014
Author: tijl
Date: Sun May 18 12:59:36 2014
New Revision: 354415
URL: http://svnweb.freebsd.org/changeset/ports/354415
QAT: https://qat.redports.org/buildarchive/r354415/
Log:
Depend on newer flex on FreeBSD 8 and 9.
Reported by: antoine
Modified:
head/devel/gputils/Makefile
Modified: head/devel/gputils/Makefile
==============================================================================
--- head/devel/gputils/Makefile Sun May 18 12:28:39 2014 (r354414)
+++ head/devel/gputils/Makefile Sun May 18 12:59:36 2014 (r354415)
@@ -17,4 +17,15 @@ GNU_CONFIGURE= yes
USES= gmake
CONFIGURE_ARGS= --disable-dependency-tracking --disable-html-doc
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1000033
+BUILD_DEPENDS+= flex>=2.5.35:${PORTSDIR}/textproc/flex
+CONFIGURE_ARGS+=LEX=${LOCALBASE}/bin/flex
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} 's/flex $$(AM_LFLAGS)/$$(LEXCOMPILE)/' \
+ ${WRKSRC}/gpasm/Makefile.in
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list