[44018] trunk/dports/net/tcpflow/Portfile

jmr at macports.org jmr at macports.org
Fri Dec 19 10:04:06 PST 2008


Revision: 44018
          http://trac.macports.org/changeset/44018
Author:   jmr at macports.org
Date:     2008-12-19 10:04:06 -0800 (Fri, 19 Dec 2008)
Log Message:
-----------
tcpflow: leave setting MDT to base, and don't break with libtool 2

Modified Paths:
--------------
    trunk/dports/net/tcpflow/Portfile

Modified: trunk/dports/net/tcpflow/Portfile
===================================================================
--- trunk/dports/net/tcpflow/Portfile	2008-12-19 17:57:08 UTC (rev 44017)
+++ trunk/dports/net/tcpflow/Portfile	2008-12-19 18:04:06 UTC (rev 44018)
@@ -29,16 +29,14 @@
 platform darwin {
     depends_lib-append port:libtool
     pre-configure {
-        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+        # libtool 1.x vs 2.x
+        if {[file exists ${prefix}/share/libtool/config.guess]} {
+            copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+        } else {
+            copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
+        }
     }
 }
 
-platform darwin 9 {
-#macosx_deployment_target 10.4
-     configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
-     build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
-     destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
-}
-
 livecheck.check   regex
 livecheck.regex   "${name} is v(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081219/d2f1b0ab/attachment.html>


More information about the macports-changes mailing list