From owner-freebsd-ports@freebsd.org Sun Jan 31 20:28:26 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 2B470A7465F for ; Sun, 31 Jan 2016 20:28:26 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (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 E6E4EFE5 for ; Sun, 31 Jan 2016 20:28:25 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a01.um.gwdg.de ([134.76.11.221] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1aPyEt-0007Ob-2j; Sun, 31 Jan 2016 21:04:51 +0100 Received: from krabat.raven.hur (79.210.253.100) by email.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 31 Jan 2016 21:02:45 +0100 Subject: Re: New port assistance for mlr To: Kurt Jaeger , jungle Boogie References: <20160131064018.GZ46096@home.opsec.eu> <20160131121507.GB46096@home.opsec.eu> <20160131165701.GC46096@home.opsec.eu> CC: From: Rainer Hurling Message-ID: <56AE6861.4010301@gwdg.de> Date: Sun, 31 Jan 2016 21:02:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160131165701.GC46096@home.opsec.eu> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav 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:28:26 -0000 Am 31.01.16 um 17:57 schrieb Kurt Jaeger: > Hi! > >> Do I need to contact the maintainer and see why it won't build on 9? > > The problem is that the port requires a recent flex, but 9.3 has > an older version. So for 9.3 the makefiles need some patch > to use the proper flex version. > >> Do you have the build log that I can show him? > > http://people.freebsd.org/~pi/logs/textproc__miller-93a-1454241832.txt > 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 HTH, Rainer