Ticket #15323: macfuse-no-platforms.diff
File macfuse-no-platforms.diff, 1.2 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
5 5 name macfuse 6 6 version 1.5 7 7 categories fuse devel 8 platforms darwin8 platforms macosx 9 9 maintainers eridius@macports.org 10 10 description A FUSE-Compliant File System Implementation Mechanism for Mac OS X 11 11 long_description MacFUSE implements a mechanism that makes it possible to implement \ … … 33 33 34 34 destroot.violate_mtree yes 35 35 36 # patchfiles patch-project.pbxproj37 38 platform darwin 8 {39 # dummy for pre-fetch40 }41 platform darwin 9 {42 # dummy for pre-fetch43 }44 45 36 variant universal { 46 37 # provide a dummy variant since the script will actually build universal 47 38 # and we don't want to error out if someone says +universal … … 49 40 50 41 # ensure that user is running OS X 10.4 or higher 51 42 pre-fetch { 52 if { ![variant_isset darwin_8] && ![variant_isset darwin_9]} {53 return -codeerror "MacFUSE requires at least Mac OS X 10.4 to run"43 if {[rpm-vercomp ${os.version} 8] < 0} { 44 error "MacFUSE requires at least Mac OS X 10.4 to run" 54 45 } 55 46 } 56 47