Revision
108754
Author
jeremyhu@macports.org
Date
2013-07-31 18:39:31 -0700 (Wed, 31 Jul 2013)

Log Message

harfbuzz: Fix broken .la file with another hack (#39598)

Modified Paths

Diff

Modified: trunk/dports/graphics/harfbuzz/Portfile (108753 => 108754)


--- trunk/dports/graphics/harfbuzz/Portfile	2013-08-01 00:33:34 UTC (rev 108753)
+++ trunk/dports/graphics/harfbuzz/Portfile	2013-08-01 01:39:31 UTC (rev 108754)
@@ -61,6 +61,8 @@
 }
 
 subport harfbuzz-icu {
+    revision 1
+
     description     HarfBuzz ICU support library
     
     long_description This library adds support for ICU (the International Components for Unicode) to HarfBuzz.
@@ -82,7 +84,11 @@
                     [glob ${destroot.dir}/.libs/libharfbuzz-icu.*.dylib] \
                     libharfbuzz-icu.la \
                     ${destroot}${prefix}/lib
+
+        # TODO: These reinplace hacks are bad.  Use the appropriate make install target instead...
+
         reinplace "s|${destroot.dir}|${prefix}/lib|g" ${destroot}${prefix}/lib/libharfbuzz-icu.la
+        reinplace "s|installed=no|installed=yes|" ${destroot}${prefix}/lib/libharfbuzz-icu.la
         copy ${destroot.dir}/.libs/libharfbuzz-icu.dylib ${destroot}${prefix}/lib
         xinstall -m 644 ${destroot.dir}/hb-icu.h ${destroot}${prefix}/include
         xinstall -m 644 ${destroot.dir}/harfbuzz-icu.pc ${destroot}${prefix}/lib/pkgconfig