[114085] trunk/dports/science/root/Portfile
mojca at macports.org
mojca at macports.org
Thu Nov 28 08:13:38 PST 2013
Revision: 114085
https://trac.macports.org/changeset/114085
Author: mojca at macports.org
Date: 2013-11-28 08:13:38 -0800 (Thu, 28 Nov 2013)
Log Message:
-----------
root: use the built-in freetype as a workaround for compile error (maintainer, #41572)
Modified Paths:
--------------
trunk/dports/science/root/Portfile
Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile 2013-11-28 15:09:31 UTC (rev 114084)
+++ trunk/dports/science/root/Portfile 2013-11-28 16:13:38 UTC (rev 114085)
@@ -5,6 +5,7 @@
name root
version 5.34.12
+revision 1
categories science
maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
@@ -24,8 +25,7 @@
worksrcdir root
-depends_lib port:freetype \
- port:xz \
+depends_lib port:xz \
port:pcre \
port:Xft2 \
port:xorg-libX11 \
@@ -38,9 +38,10 @@
port:gmp \
port:xpm \
port:expat
+ # port:freetype
post-patch {
- reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
+# reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
reinplace "s|\"/usr/include\"|\"${prefix}/include /usr/include\"|g" ${worksrcpath}/configure
reinplace "s|/usr/lib |${prefix}/lib /usr/lib |g" ${worksrcpath}/configure
reinplace "s|/usr/include |${prefix}/include /usr/include |g" ${worksrcpath}/configure
@@ -66,7 +67,6 @@
--testdir=${prefix}/share/${name}/test \
--tutdir=${prefix}/share/${name}/tutorials \
--etcdir=${prefix}/etc/${name} \
- --disable-builtin-freetype \
--disable-builtin-glew \
--disable-builtin-pcre \
--disable-builtin-zlib \
@@ -109,7 +109,8 @@
--enable-reflex \
--enable-table \
--enable-fink \
- --enable-gdml
+ --enable-gdml \
+ --enable-builtin-freetype
platform darwin {
set cxx_stdlib {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131128/92a2ca0b/attachment.html>
More information about the macports-changes
mailing list