From owner-freebsd-ports@FreeBSD.ORG Fri Aug 22 22:13:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FC01065676 for ; Fri, 22 Aug 2008 22:13:43 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 209348FC08 for ; Fri, 22 Aug 2008 22:13:43 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KWet3-0001XA-6p; Sat, 23 Aug 2008 02:13:41 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 91FB68D76; Sat, 23 Aug 2008 02:13:53 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 717DC17032; Sat, 23 Aug 2008 02:13:39 +0400 (MSD) Date: Sat, 23 Aug 2008 02:13:39 +0400 From: Dmitry Marakasov To: Torfinn Ingolfsen Message-ID: <20080822221339.GH1421@hades.panopticon> References: <20080821105506.GA25154@wep4017.physik.uni-wuerzburg.de> <20080822125845.GB4663@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: amule 2 port - trying an upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 22:13:43 -0000 * Torfinn Ingolfsen (tingox@gmail.com) wrote: > and it looks like configure pick up the old flex: > root@kg-vm# grep flex work/a*/config.log > configure:4647: checking for flex > configure:4663: found /usr/bin/flex > configure:4673: result: flex > configure:4837: flex conftest.l > configure:8884: checking for extended flex capabilities > configure:8898: Your flex version doesn't support --header-file flag. > This is not critical, but an upgrade is recommended > ac_cv_prog_LEX=flex > LEX='flex' > > How do I tell the prt to usethe flex in /usr/local/bin? I think you should hack configure with REINPLACE_CMD and change (configure:4643): for ac_prog in flex lex to for ac_prog in ${LOCALBASE}/flex something like that. > Anyway, I'll test and see if this is the problem. > Some time passes.. no, that didn't make a difference.I renamed > /usr/bin/flex to flex.old and configure picks up the new flex, but man > pages still won't install. :-( You can see several test: yes: unexpected operator test: no: unexpected operator test: yes: unexpected operator test: yes: unexpected operator thingies in the configure output. Those are because FreeBSD test doesn't support ==, so if test "$AMULECMD" == "yes"; then fails and AMULECMD_MANPAGES is thus empty. You should REINPLACE_CMD -e '/if test/ s|==|=|' ${WRKSRC}/configure (and it's good to submit that fix upstream; bashisms should be eliminated). -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru