[91839] trunk/dports/textproc/doxygen/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 11 12:00:32 PDT 2012


Revision: 91839
          https://trac.macports.org/changeset/91839
Author:   jeremyhu at macports.org
Date:     2012-04-11 12:00:31 -0700 (Wed, 11 Apr 2012)
Log Message:
-----------
doxygen: Build fix by ensuring that our flex and bison are used

Modified Paths:
--------------
    trunk/dports/textproc/doxygen/Portfile

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2012-04-11 18:47:21 UTC (rev 91838)
+++ trunk/dports/textproc/doxygen/Portfile	2012-04-11 19:00:31 UTC (rev 91839)
@@ -46,6 +46,33 @@
 configure.pre_args	--prefix ${prefix}
 configure.args		--docdir ${prefix}/share/doc --dot ${prefix}/bin/dot
 
+post-extract {
+	# Use our flex
+	file delete ${worksrcpath}/src/ce_lex.cpp
+	file delete ${worksrcpath}/src/code.cpp
+	file delete ${worksrcpath}/src/commentcnv.cpp
+	file delete ${worksrcpath}/src/commentscan.cpp
+	file delete ${worksrcpath}/src/config.cpp
+	file delete ${worksrcpath}/src/declinfo.cpp
+	file delete ${worksrcpath}/src/defargs.cpp
+	file delete ${worksrcpath}/src/doctokenizer.cpp
+	file delete ${worksrcpath}/src/fortrancode.cpp
+	file delete ${worksrcpath}/src/fortranscanner.cpp
+	file delete ${worksrcpath}/src/pre.cpp
+	file delete ${worksrcpath}/src/pycode.cpp
+	file delete ${worksrcpath}/src/pyscanner.cpp
+	file delete ${worksrcpath}/src/scanner.cpp
+	file delete ${worksrcpath}/src/tclscanner.cpp
+	file delete ${worksrcpath}/src/vhdlcode.cpp
+	file delete ${worksrcpath}/src/vhdlscanner.cpp
+
+	# Use our bison
+	file delete ${worksrcpath}/src/ce_parse.cpp
+	file delete ${worksrcpath}/src/ce_parse.h
+	file delete ${worksrcpath}/src/vhdlparser.cpp
+	file delete ${worksrcpath}/src/vhdlparser.h
+}
+
 post-patch {
 	# ensure correct compilers and compiler options are used
 	reinplace "/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc} ${configure.cppflags} ${arch_flags}%" ${tmake_conf}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120411/c3ead39c/attachment.html>


More information about the macports-changes mailing list