[46506] trunk/dports/textproc/doxygen/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Thu Feb 5 15:41:02 PST 2009
Revision: 46506
http://trac.macports.org/changeset/46506
Author: mcalhoun at macports.org
Date: 2009-02-05 15:41:02 -0800 (Thu, 05 Feb 2009)
Log Message:
-----------
doxygen: Previously, doxygen was not linking against the MacPorts libiconv.
Append compiler options to compiler name to remedy this.
Attempt to fix #18258.
Modified Paths:
--------------
trunk/dports/textproc/doxygen/Portfile
Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile 2009-02-05 22:52:30 UTC (rev 46505)
+++ trunk/dports/textproc/doxygen/Portfile 2009-02-05 23:41:02 UTC (rev 46506)
@@ -4,6 +4,7 @@
name doxygen
version 1.5.8
+revision 1
categories textproc devel
maintainers css
description Documentation system for several programming languages
@@ -42,10 +43,11 @@
configure.args --docdir ${prefix}/share/doc --dot ${prefix}/bin/dot
post-patch {
- reinplace "/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc}%" ${tmake_conf}
- reinplace "/^TMAKE_CXX\[\[:space:\]\]/s%=.*%= ${configure.cxx}%" ${tmake_conf}
- reinplace "/^TMAKE_LINK\[\[:space:\]\]/s%=.*%= ${configure.cxx}%" ${tmake_conf}
- reinplace "/^TMAKE_LINK_SHLIB\[\[:space:\]\]/s%=.*%= ${configure.cxx}%" ${tmake_conf}
+ # ensure correct compilers and compiler options are used
+ reinplace "/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc} ${configure.cppflags}%" ${tmake_conf}
+ reinplace "/^TMAKE_CXX\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.cppflags}%" ${tmake_conf}
+ reinplace "/^TMAKE_LINK\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.ldflags}%" ${tmake_conf}
+ reinplace "/^TMAKE_LINK_SHLIB\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.ldflags}%" ${tmake_conf}
# may not be strictly necessary, but remove trailing '/' from DESTDIR
reinplace "s|\$(DESTDIR)/|\$(DESTDIR)|g" ${worksrcpath}/Makefile.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090205/1e0a5c36/attachment.html>
More information about the macports-changes
mailing list