Modified: trunk/dports/emulators/xhyve/Portfile (140410 => 140411)
--- trunk/dports/emulators/xhyve/Portfile 2015-09-19 01:30:10 UTC (rev 140410)
+++ trunk/dports/emulators/xhyve/Portfile 2015-09-19 02:09:06 UTC (rev 140411)
@@ -21,6 +21,13 @@
checksums rmd160 f04ef00ddb2be3cc34415015acf8bebf54394e02 \
sha256 b7b96388da660b6224623a6445f61c1645123d59637023bb6e2c7fb29522619d
+pre-fetch {
+ if {${os.platform} eq "darwin" && (${os.major} < 14)} {
+ ui_error "${name} is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher"
+ return -code error "incompatible OS X version"
+ }
+}
+
post-patch {
reinplace "s|test/|${prefix}/share/${name}/test/|" ${worksrcpath}/${name}run.sh
reinplace "s|build/${name}|${prefix}/bin/${name}|" ${worksrcpath}/${name}run.sh