Ticket #26516: synergy-1.3.5-rc.diff
File synergy-1.3.5-rc.diff, 2.9 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup cmake 1.0 4 5 5 6 name synergy 6 set sf_proj synergy2 7 version 1.3.1 7 version 1.3.5-rc 8 8 categories sysutils 9 9 platforms darwin 10 10 maintainers gmail.com:ascarter … … 16 16 own display. 17 17 18 18 homepage http://synergy-foss.org/ 19 master_sites sourceforge 20 master_sites.mirror_subdir ${sf_proj} 19 master_sites googlecode:synergy-plus:dist \ 20 http://synergy-plus.googlecode.com/svn-history/r234/trunk/cmake/:config 21 dist_subdir ${name}/${version} 22 distname synergy-plus-${version}-Source 23 worksrcdir synergy-plus-[lindex [split ${version} -] 0]-Source 24 distfiles [suffix ${distname}]:dist \ 25 config.h.in:config 26 extract.only [suffix ${distname}] 21 27 22 checksums md5 a6e09d6b71cb217f23069980060abf27 28 checksums [suffix ${distname}] \ 29 sha1 23fd8a3ff12700a3c855999f48c92feb7aacac8b \ 30 rmd160 b4bdc702b150c1817f51a1b94cbbb72a6264da7f \ 31 config.h.in \ 32 sha1 15a1521fb8a4af1d9d201311cab499aef5fbae78 \ 33 rmd160 6740833323613731213c1e93cf29c9808ba6b294 23 34 24 configure.args --sysconfdir=${prefix}/etc/${name} 25 patchfiles patch-CArchFileUnix.cpp.diff patch-configure.diff 35 post-extract { 36 # http://code.google.com/p/synergy-plus/issues/detail?id=430 37 copy ${distpath}/config.h.in ${worksrcpath}/cmake/ 38 } 26 39 40 patchfiles patch-CArchFileUnix.cpp.diff 41 27 42 post-patch { 28 43 reinplace "s|__SYSCONFDIR|${prefix}/etc/${name}|g" ${worksrcpath}/lib/arch/CArchFileUnix.cpp 29 44 } 30 45 31 variant server { 32 startupitem.create yes 33 startupitem.name Synergy 34 startupitem.start "${prefix}/bin/synergys --daemon &" 35 startupitem.stop "/usr/bin/killall synergys" 36 } 46 startupitem.create yes 47 startupitem.name Synergy 48 startupitem.start "${prefix}/bin/synergys --daemon &" 49 startupitem.stop "/usr/bin/killall synergys" 37 50 38 51 post-destroot { 39 52 xinstall -m 755 -d ${destroot}${prefix}/etc/${name} … … 41 54 ${destroot}${prefix}/etc/${name}/synergy.conf.sample 42 55 } 43 56 44 livecheck.name ${sf_proj}45 livecheck.regex <title>Sources (.*) released.*</title>46 47 57 # Force 32-bit, all kinds of Carbon cruft in here. (#20908) 48 58 supported_archs i386 ppc -
files/patch-configure.diff
1 --- configure.orig 2005-06-22 13:15:24.000000000 -07002 +++ configure 2005-06-22 13:39:40.000000000 -07003 @@ -6870,7 +6870,7 @@4 echo "$as_me:6870: checking for C++ compiler warning are errors flags" >&55 echo $ECHO_N "checking for C++ compiler warning are errors flags... $ECHO_C" >&66 if test "$GXX" = "yes"; then7 - acx_cxx_warnings_are_errors="-Werror"8 + acx_cxx_warnings_are_errors=""9 fi10 if test -n "$acx_cxx_warnings_are_errors"; then11 CXXFLAGS="$CXXFLAGS $acx_cxx_warnings_are_errors"