[45147] trunk/dports/graphics/gd2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Jan 8 23:58:10 PST 2009
Revision: 45147
http://trac.macports.org/changeset/45147
Author: ryandesign at macports.org
Date: 2009-01-08 23:58:10 -0800 (Thu, 08 Jan 2009)
Log Message:
-----------
gd2: work with either libtool 1.x or 2.x
Modified Paths:
--------------
trunk/dports/graphics/gd2/Portfile
Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile 2009-01-09 07:57:50 UTC (rev 45146)
+++ trunk/dports/graphics/gd2/Portfile 2009-01-09 07:58:10 UTC (rev 45147)
@@ -59,7 +59,11 @@
patch-config-gdlib-config.in.diff
post-patch {
- copy -force ${prefix}/share/libtool/config/ltmain.sh ${worksrcpath}/config/ltmain.sh
+ if {[file exists ${prefix}/share/libtool/config/ltmain.sh]} {
+ copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/ltmain.sh ${worksrcpath}/config
+ } else {
+ copy -force ${prefix}/share/libtool/ltmain.sh ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/config
+ }
}
use_autoconf yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090108/0ca3d2f9/attachment.html>
More information about the macports-changes
mailing list