[49032] trunk/dports/games/xgalaga/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 1 23:08:42 PDT 2009
Revision: 49032
http://trac.macports.org/changeset/49032
Author: ryandesign at macports.org
Date: 2009-04-01 23:08:42 -0700 (Wed, 01 Apr 2009)
Log Message:
-----------
xgalaga: declare dependency on libtool and make it work with either
the old libtool 1.x or the new libtool 2.x; reported here:
http://lists.macosforge.org/pipermail/macports-users/2009-April/014641.html
Modified Paths:
--------------
trunk/dports/games/xgalaga/Portfile
Modified: trunk/dports/games/xgalaga/Portfile
===================================================================
--- trunk/dports/games/xgalaga/Portfile 2009-04-02 06:03:20 UTC (rev 49031)
+++ trunk/dports/games/xgalaga/Portfile 2009-04-02 06:08:42 UTC (rev 49032)
@@ -28,7 +28,8 @@
patch-struct.h \
patch-titile.c
-depends_build port:autoconf
+depends_build port:autoconf \
+ port:libtool
use_autoconf yes
configure.pre_args --prefix=${prefix}/share/${name} \
@@ -38,7 +39,10 @@
platform darwin {
pre-configure {
- copy -force ${prefix}/share/libtool/config.guess ${worksrcpath}
- copy -force ${prefix}/share/libtool/config.sub ${worksrcpath}
+ if {[file exists ${prefix}/share/libtool/config/config.guess]} {
+ copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
+ } else {
+ copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090401/41b58aba/attachment.html>
More information about the macports-changes
mailing list