[88165] trunk/dports/textproc/openjade/Portfile
dports at macports.org
dports at macports.org
Tue Dec 20 23:55:37 PST 2011
Revision: 88165
http://trac.macports.org/changeset/88165
Author: dports at macports.org
Date: 2011-12-20 23:55:35 -0800 (Tue, 20 Dec 2011)
Log Message:
-----------
openjade:
* fix universal build by patching libtool to include archflags
* prevent the build from trying to link against libraries installed
by an existing openjade installation in ${prefix}/lib.
(see #31777)
Modified Paths:
--------------
trunk/dports/textproc/openjade/Portfile
Modified: trunk/dports/textproc/openjade/Portfile
===================================================================
--- trunk/dports/textproc/openjade/Portfile 2011-12-21 07:19:19 UTC (rev 88164)
+++ trunk/dports/textproc/openjade/Portfile 2011-12-21 07:55:35 UTC (rev 88165)
@@ -51,7 +51,8 @@
--mandir=${prefix}/share/man
configure.env-append LIBS="-L${prefix}/lib"
-configure.cxxflags-append "-I${prefix}/include -fno-rtti"
+configure.cxxflags-append "-isystem ${prefix}/include -fno-rtti"
+configure.ldflags-delete "-L${prefix}/lib"
post-configure {
reinplace "s|^#pragma implementation||g" ${worksrcpath}/grove/Node.cxx
@@ -64,7 +65,8 @@
reinplace "s|^#pragma interface||g" ${worksrcpath}/grove/Node.h
reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl
reinplace "s|^#pragma interface||g" ${worksrcpath}/spgrove/GroveApp.h
- reinplace "s|CXX=|CXX=${configure.cxx}|g" ${worksrcpath}/libtool
+ reinplace "s|^CXX=.*$|CXX='${configure.cxx} [get_canonical_archflags]'|g" ${worksrcpath}/libtool
+ reinplace "s|^CC=.*$|CC='${configure.cc} [get_canonical_archflags]'|g" ${worksrcpath}/libtool
}
destroot.target install install-man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111220/d5499b1b/attachment-0001.html>
More information about the macports-changes
mailing list