Modified: trunk/dports/editors/textmate2/Portfile (100162 => 100163)
--- trunk/dports/editors/textmate2/Portfile 2012-12-01 06:01:24 UTC (rev 100162)
+++ trunk/dports/editors/textmate2/Portfile 2012-12-01 06:28:35 UTC (rev 100163)
@@ -25,12 +25,6 @@
supported_archs x86_64
license GPL-3+
-pre-fetch {
- if {${os.platform} == "darwin" && ${os.major} < 11} {
- ui_error "${name} only works with Mac OS X 10.7 Lion or later."
- return -code error "incompatible Mac OS X version"
- }
-}
fetch.type git
post-fetch {
system -W ${worksrcpath} "git submodule update --init"
@@ -65,6 +59,16 @@
port:libiconv \
port:zlib
+if {${os.platform} != "darwin" || ${os.major} != 11} {
+ depends_fetch
+ depends_build
+ depends_lib
+ pre-fetch {
+ ui_error "${name} only works with Mac OS X 10.7 Lion or later."
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
configure.env-append builddir=${worksrcpath}/build \
tag=-macports