Changeset 136192


Ignore:
Timestamp:
May 11, 2015, 10:52:15 PM (4 years ago)
Author:
dports@…
Message:

synergy: update to v1.6.3, fix build (see #44018)

Location:
trunk/dports/sysutils/synergy
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/synergy/Portfile

    r98883 r136192  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem 1.0
    45PortGroup cmake 1.0
     6PortGroup github 1.0
    57
    6 name            synergy
     8github.setup    synergy synergy 1.6.3
    79conflicts       synergy-devel
    8 version         1.3.8
    9 revision        1
    1010categories      sysutils
    1111license         GPL-2
     
    1919    multiple computers on their desk since each system uses its \
    2020    own display.
    21 homepage        http://synergy-foss.org
    22 master_sites    googlecode
    23 distname        ${name}-${version}-Source
     21homepage        http://synergy-project.org
    2422
    25 checksums       sha1    82e80b22c6746e573d047aa4a1ad7b71c28cf7d3 \
    26                 rmd160  3b02faec3b5e5dbea1853e6decd92e4cf6eca419
     23depends_lib     port:curl
    2724
    28 # Force 32-bit, all kinds of Carbon cruft in here. (#20908)
    29 supported_archs i386 ppc
     25checksums       rmd160  bde692fe629be6174f1cdab81917e0d6ac3fcc5a \
     26                sha256  2d05b2a7e98e6556900669fea544fdc7c9861ada419fb9cfbead85da3212c046
    3027
    31 patchfiles      patch-CArchFileUnix.cpp.diff
    3228
    33 # See http://synergy-foss.org/pm/issues/57
    34 patchfiles-append patch-bug57-keypress.diff \
    35                   patch-bug57-modifiers.diff
     29post-extract {
     30    foreach x {gmock-1.6.0 gtest-1.6.0 cryptopp562} {
     31        xinstall -d ${worksrcpath}/ext/$x
     32        system -W ${worksrcpath}/ext/$x "unzip ../$x.zip"
     33    }
     34}
    3635
    37 # See http://synergy-foss.org/tracker/issues/2962
    38 patchfiles-append patch-bug2962-clipboard.diff
     36patchfiles patch-CMakeLists.txt.diff
    3937
    40 post-patch {
    41     # Set default config path
    42     reinplace "s|@@SYSCONFDIR@@|${prefix}/etc/${name}|g" ${worksrcpath}/src/lib/arch/CArchFileUnix.cpp
     38set major               [lindex [split ${macosx_version} .] 0]
     39set minor               [lindex [split ${macosx_version} .] 1]
     40configure.args -G \"Unix Makefiles\" \
     41               -DOSX_TARGET_MAJOR=${major} -DOSX_TARGET_MINOR=${minor}
    4342
    44     # Fix build architectures
    45     reinplace "s:CMAKE_OSX_ARCHITECTURES \"ppc;i386\":CMAKE_OSX_ARCHITECTURES \"[join [get_canonical_archs] ;]\":" ${worksrcpath}/CMakeLists.txt
    46 }
     43use_parallel_build no
    4744
    4845destroot {
Note: See TracChangeset for help on using the changeset viewer.