[80128] trunk/dports
jmr at macports.org
jmr at macports.org
Mon Jul 4 18:40:03 PDT 2011
Revision: 80128
http://trac.macports.org/changeset/80128
Author: jmr at macports.org
Date: 2011-07-04 18:40:02 -0700 (Mon, 04 Jul 2011)
Log Message:
-----------
zlib, libtool: don't check for .dylib on non-darwin
Modified Paths:
--------------
trunk/dports/archivers/zlib/Portfile
trunk/dports/devel/libtool/Portfile
Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile 2011-07-05 00:39:43 UTC (rev 80127)
+++ trunk/dports/archivers/zlib/Portfile 2011-07-05 01:40:02 UTC (rev 80128)
@@ -39,10 +39,12 @@
destroot.destdir prefix=${destroot}${prefix}
post-destroot {
- foreach {neededfile} "${prefix}/lib/libz.dylib" {
- if {![file exists ${destroot}${neededfile}]} {
- ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
- return -code error "missing ${neededfile} in destroot"
+ platform darwin {
+ foreach {neededfile} "${prefix}/lib/libz.dylib" {
+ if {![file exists ${destroot}${neededfile}]} {
+ ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
+ return -code error "missing ${neededfile} in destroot"
+ }
}
}
Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile 2011-07-05 00:39:43 UTC (rev 80127)
+++ trunk/dports/devel/libtool/Portfile 2011-07-05 01:40:02 UTC (rev 80128)
@@ -36,13 +36,6 @@
use_parallel_build yes
post-destroot {
- foreach {neededfile} "${prefix}/lib/libltdl.dylib" {
- if {![file exists ${destroot}${neededfile}]} {
- ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
- return -code error "missing ${neededfile} in destroot"
- }
- }
-
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
@@ -55,6 +48,14 @@
platform darwin {
configure.env-append GREP=/usr/bin/grep \
SED=/usr/bin/sed
+ post-destroot {
+ foreach {neededfile} "${prefix}/lib/libltdl.dylib" {
+ if {![file exists ${destroot}${neededfile}]} {
+ ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
+ return -code error "missing ${neededfile} in destroot"
+ }
+ }
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110704/985d25a1/attachment.html>
More information about the macports-changes
mailing list