[101384] trunk/dports/devel/libgdiplus/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 9 15:14:19 PST 2013


Revision: 101384
          https://trac.macports.org/changeset/101384
Author:   ryandesign at macports.org
Date:     2013-01-09 15:14:19 -0800 (Wed, 09 Jan 2013)
Log Message:
-----------
libgdiplus: patch libgdiplus.pc to avoid error "Variable 'libjpeg_prefix' not defined in '/opt/local/lib/pkgconfig/libgdiplus.pc'"

Modified Paths:
--------------
    trunk/dports/devel/libgdiplus/Portfile

Modified: trunk/dports/devel/libgdiplus/Portfile
===================================================================
--- trunk/dports/devel/libgdiplus/Portfile	2013-01-09 23:12:18 UTC (rev 101383)
+++ trunk/dports/devel/libgdiplus/Portfile	2013-01-09 23:14:19 UTC (rev 101384)
@@ -4,7 +4,7 @@
 
 name		libgdiplus
 version		2.10.9
-revision	1
+revision	2
 categories	devel
 platforms	darwin
 maintainers	nomaintainer
@@ -42,6 +42,11 @@
  	reinplace "s/-pthread/-lpthread/g" ${worksrcpath}/configure
 }
 
+post-configure {
+    # https://bugs.gentoo.org/show_bug.cgi?id=431916
+    reinplace {s%-L${libjpeg_prefix}/lib%%g} ${worksrcpath}/libgdiplus.pc
+}
+
 test.run        yes
 test.target     check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130109/bc0b80c3/attachment.html>


More information about the macports-changes mailing list