From owner-freebsd-ports@FreeBSD.ORG Fri Aug 8 01:28:52 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10CB8CAD for ; Fri, 8 Aug 2014 01:28:52 +0000 (UTC) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:212]) by mx1.freebsd.org (Postfix) with ESMTP id B121B2292 for ; Fri, 8 Aug 2014 01:28:51 +0000 (UTC) Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta14.westchester.pa.mail.comcast.net with comcast id c1Jb1o0021swQuc5E1UqXU; Fri, 08 Aug 2014 01:28:50 +0000 Received: from kirby.cyberbotx.com ([107.5.48.95]) by omta15.westchester.pa.mail.comcast.net with comcast id c1Up1o00C23DSHF3b1Uq2N; Fri, 08 Aug 2014 01:28:50 +0000 Message-ID: <53E427D0.8020802@cyberbotx.com> Date: Thu, 07 Aug 2014 21:28:48 -0400 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Ewout Boks Subject: Re: FreeBSD Port: doxygen-1.8.3.1_1,1 References: <30FA93D8-FD3C-40AF-B518-02E62E487509@kiwanda.nl> In-Reply-To: <30FA93D8-FD3C-40AF-B518-02E62E487509@kiwanda.nl> Content-Type: multipart/mixed; boundary="------------070808090508040203030709" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407461330; bh=3b8WnntkQIlq8KUwoRET+MnjhbTfYd/GNmDkz7ZGTM0=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=wclx7zCdEgVODyBX4VDYY7OshShzZ4UntdmhalCAFAh8ccIuaOwKo+cDtPGPX8lgx 0vD1xj0z4VrpPI1QqYPixLu7kpkTeUQwOHdvc1dLhr92Ud6ilf/p/4y7dKsbGYBfMm R/egAC2e5oH3zBqiy1Kjqu+M+n3tmvKqICt8Y9ToNFoRMO33AIlURRuTAd69Z0i3f2 7sT099wXzpWyjdFEFZ8Fq1e2No3aVom672wLW6oTDUnTO5x9fgLhe49IlEu91uyqEt kJ6RCVVZrW8UZBbm9ygiPpuNAjDCRHANXlVqdoTj8t0MuNu/AggDA2gJhaMPdb5x/D plhp2WQe17IYw== Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 01:28:52 -0000 This is a multi-part message in MIME format. --------------070808090508040203030709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/07/14 15:06, Ewout Boks wrote: > Hi, > > I tried building doxygen on FreeBSD 10.0 today, but the build failed : > > clang++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -I. -Imoc -I/usr/local/include/qt4 -I/usr/local/include -o obj/config_lex.o config_lex.cpp > lex.config.c:1702:16: warning: function 'yyinput' is not needed and will not be emitted > [-Wunneeded-internal-declaration] > static int yyinput (void) > > > Perhaps the compiler switch '-Wunneeded-internal-declaration' should be removed, or the source code should be modified. > > > Best regards, > > Ewout Boks It has nothing to do with the compiler flag or the source code, it has to do with the fact that doxygen is expecting a newer version of flex than what is in the base system. I am attaching a patch that I currently have on my local system that allows it to build, in lieu of the 1.8.7 patch that is being looked in to. I might have to send this in as a bug report if we can't get the 1.8.7 update done, though. Thanks, Naram Qashat --------------070808090508040203030709 Content-Type: text/x-patch; name="doxygen-1.8.3.1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="doxygen-1.8.3.1.patch" Index: /usr/ports/devel/doxygen/Makefile =================================================================== --- /usr/ports/devel/doxygen/Makefile (revision 363687) +++ /usr/ports/devel/doxygen/Makefile (working copy) @@ -16,7 +16,8 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake +BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake \ + flex>0:${PORTSDIR}/textproc/flex LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png USES= bison iconv perl5 gmake @@ -24,7 +25,8 @@ HAS_CONFIGURE= yes QT_NONSTANDARD= yes # non-standard configure arguments CONFIGURE_ARGS= --prefix ${PREFIX} --perl ${PERL} --make ${MAKE_CMD} \ - --install "${INSTALL}" + --install "${INSTALL}" --flex ${LOCALBASE}/bin/flex +MAKE_JOBS_UNSAFE= yes REINPLACE_ARGS= -i '' EXTRACT_AFTER_ARGS= --exclude '*/libmd5' \ @@ -52,7 +54,7 @@ ALL_TARGET+= pdf USE_TEX= latex:build USE_GHOSTSCRIPT_BUILD= yes -MAKE_ARGS+= HAVE_PDFDOCS=yes +MAKE_ARGS+= HAVE_LATEX=yes .endif # PDFDOCS .endif # HTMLDOCS --------------070808090508040203030709--