[42598] trunk/dports/graphics/gd2/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Nov 25 09:04:55 PST 2008


Revision: 42598
          http://trac.macports.org/changeset/42598
Author:   ryandesign at macports.org
Date:     2008-11-25 09:04:54 -0800 (Tue, 25 Nov 2008)
Log Message:
-----------
gd2: make sure the universal LDFLAGS don't end up in the gdlib-config program; closes #17390

Modified Paths:
--------------
    trunk/dports/graphics/gd2/Portfile

Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile	2008-11-25 16:52:04 UTC (rev 42597)
+++ trunk/dports/graphics/gd2/Portfile	2008-11-25 17:04:54 UTC (rev 42598)
@@ -4,7 +4,7 @@
 
 name                    gd2
 version                 2.0.35
-revision                1
+revision                2
 categories              graphics
 maintainers             ryandesign
 homepage                http://www.libgd.org/
@@ -64,6 +64,13 @@
     system "${cmd}"
 }
 
+post-destroot {
+    if {[variant_isset universal]} {
+       reinplace "s|${configure.universal_ldflags}||" \
+           ${destroot}${prefix}/bin/gdlib-config
+    }
+}
+
 platform darwin 6 {
     depends_lib lib:libdl:dlcompat
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081125/55a128a6/attachment.html>


More information about the macports-changes mailing list