Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2014 21:28:48 -0400
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        Ewout Boks <ewout+sender+4f883d@kiwanda.nl>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: doxygen-1.8.3.1_1,1
Message-ID:  <53E427D0.8020802@cyberbotx.com>
In-Reply-To: <30FA93D8-FD3C-40AF-B518-02E62E487509@kiwanda.nl>
References:  <30FA93D8-FD3C-40AF-B518-02E62E487509@kiwanda.nl>

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



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