Ticket #28197: vrpn-7.28.2-2.diff
File vrpn-7.28.2-2.diff, 2.4 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name vrpn 8 version 7.28.2 8 9 description Virtual-Reality Peripheral Network 9 10 long_description The Virtual-Reality Peripheral Network (VRPN) is a \ 10 11 set of classes that implement an interface between \ 11 12 application programs and the set of physical devices \ 12 13 (tracker, etc.) used in a virtual-reality (VR) system. 13 version 07_2614 14 categories net devel multimedia 15 15 platforms darwin 16 16 maintainers node99.org:sean 17 license BSL-1.0 17 18 18 19 homepage http://www.cs.unc.edu/Research/vrpn/ 19 20 master_sites ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/ \ 20 21 ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/old_versions/ 21 distname ${name}_${version} 22 23 dist_subdir ${name}/${version} 24 distname ${name}_0[join [lrange [split ${version} .] 0 1] _] 22 25 worksrcdir ${name} 23 26 use_zip yes 24 checksums md5 77adb2044aed254f4b7cb4b3991513de \ 25 sha1 6c6291ecb22372f959ab4778552f88f8f984966a 27 28 checksums sha1 ec450dc5a8d968c91790aef1a3780b0f32f7aa1b \ 29 rmd160 380c9fef69f6b3ef8561c90a341e6fe3433b0da9 30 31 configure.dir ${workpath}/build 32 configure.args-append ${worksrcpath} 33 34 post-extract { 35 file mkdir ${configure.dir} 36 } 37 38 # vrpn_HumanInterface.C:526: error: invalid conversion from 'void (*)(void*, IOReturn, void*, void*, UInt32)' to 'void (*)(void*, IOReturn, void*, void*, uint32_t)' 39 universal_variant no 40 #if {[variant_isset universal]} { 41 # set archflags ${configure.universal_cflags} 42 #} else { 43 set archflags ${configure.cc_archflags} 44 #} 45 46 build.args-append CC="${configure.cc} ${archflags}" 47 destroot.args-append CC="${configure.cc} ${archflags}" 48 destroot.destdir INSTALL_DIR=${destroot}${prefix} 49 50 platform darwin { 51 # powerpc_macosx appears to be correct for all Macs, PowerPC and Intel 52 build.args-append HW_OS=powerpc_macosx 53 destroot.args-append HW_OS=powerpc_macosx 54 }