Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 12:59:37 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354415 - head/devel/gputils
Message-ID:  <201405181259.s4ICxbM8079675@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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