From owner-freebsd-ports@freebsd.org Sun Jan 31 20:26:45 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2F8AA74586 for ; Sun, 31 Jan 2016 20:26:45 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2F90F1D for ; Sun, 31 Jan 2016 20:26:45 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aPya7-000PU2-P0; Sun, 31 Jan 2016 21:26:47 +0100 Date: Sun, 31 Jan 2016 21:26:47 +0100 From: Kurt Jaeger To: Rainer Hurling Cc: freebsd-ports@freebsd.org Subject: Re: New port assistance for mlr Message-ID: <20160131202647.GD46096@home.opsec.eu> References: <20160131064018.GZ46096@home.opsec.eu> <20160131121507.GB46096@home.opsec.eu> <20160131165701.GC46096@home.opsec.eu> <56AE6861.4010301@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56AE6861.4010301@gwdg.de> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 20:26:46 -0000 Hi! > > The problem is that the port requires a recent flex, but 9.3 has > > an older version. [...] > I had a nearly similar problem with graphics/qgis. This way it works for me: > > .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 > BUILD_DEPENDS+= flex>=2.5.39:${PORTSDIR}/textproc/flex > CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex > CXXFLAGS+= -I${LOCALBASE}/include/flex > .endif This works if the port uses cmake. Unfortunatly, miller does not use cmake. -- pi@opsec.eu +49 171 3101372 4 years to go !