Ticket #50237: Portfile-gpsd.diff
File Portfile-gpsd.diff, 2.6 KB (added by fhgwright (Fred Wright), 9 years ago) |
---|
-
Portfile
old new 8 8 } 9 9 10 10 name gpsd 11 version 3.14 12 revision 4 11 version 3.15 13 12 license BSD 14 13 categories net 15 14 maintainers ryandesign openmaintainer … … 24 23 homepage http://www.catb.org/${name}/ 25 24 master_sites savannah 26 25 27 checksums rmd160 fe0059e2b3d64af5857f9c150ef2fdd6bc6e115f\28 sha256 504fc812f3c1525a1a48e04bf4d77f9a8066c201448d98089df89d58ef53a8cb26 checksums rmd160 e3b62e073759b972c31a140b5d68cb2972180435 \ 27 sha256 81c89e271ae112313e68655ab30d227bc38fe7841ffbff0f1860b12a9d7696ea 29 28 30 29 depends_lib-append port:ncurses port:python27 31 30 depends_build-append port:scons … … 34 33 patch-driver_rtcm2.c.diff \ 35 34 patch-libgps.pc.in.diff \ 36 35 patch-libgpsd.pc.in.diff \ 37 leopard-IPV6_TCLASS.patch 36 patch-libgpsd_core.c.diff \ 37 leopard-IPV6_TCLASS.patch \ 38 patch-aivdm-csv.diff \ 39 patch-json-sats.diff 38 40 39 41 use_configure no 40 42 … … 47 49 48 50 build.cmd ${prefix}/bin/scons 49 51 build.target 50 build.args prefix=${prefix} libQgpsmm=no usb=no strip=no 52 build.args prefix=${prefix} libQgpsmm=no usb=no strip=no \ 53 dbus_export=no 51 54 build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \ 52 55 CFLAGS="${configure.cflags}" \ 53 56 CXX="${configure.cxx} [get_canonical_archflags cxx] ${cxx_stdlibflags}" \ … … 59 62 destroot.env-append {*}${destroot.destdir} {*}${build.env} 60 63 61 64 post-destroot { 62 xinstall -m 644 -W ${worksrcpath} libgps.dylib libgpsd.dylib${destroot}${prefix}/lib65 xinstall -m 644 -W ${worksrcpath} libgps.dylib ${destroot}${prefix}/lib 63 66 } 64 67 65 68 variant qt description {Build Qt bindings} { 69 depends_lib-append port:qt5 66 70 build.args-delete libQgpsmm=no 67 71 destroot.args-delete libQgpsmm=no 72 build.args-append qt_versioned=5 68 73 } 69 74 70 75 variant libusb \ … … 77 82 78 83 variant dbus description {Include support for DBUS} { 79 84 depends_lib-append port:dbus-glib 85 build.args-delete dbus_export=no 86 destroot.args-delete dbus_export=no 80 87 build.args-append dbus=yes dbus_export=yes 81 88 destroot.args-append dbus=yes dbus_export=yes 82 89 }