Skip to content

Commit

Permalink
unison: update to 2.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jul 5, 2024
1 parent c27691c commit b2850e8
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions net/unison/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup github 1.0

github.setup bcpierce00 unison 2.51.5 v
github.setup bcpierce00 unison 2.52.0 v
revision 0
categories net
maintainers nomaintainer
Expand All @@ -16,14 +16,12 @@ long_description Unison is a file-synchronization tool for Unix and \
modified separately, and then brought up to date by \
propagating the changes in each replica to the other.
homepage http://www.cis.upenn.edu/~bcpierce/unison/
platforms darwin

checksums rmd160 a1024b19350dee2cf952ed924eba1dc921485154 \
sha256 77eb8bc28cec5eaa7ceb2011354f77f4a753fd033589497a56c8cb9306f9459f \
size 1385506
checksums rmd160 034d7024768d856d7366e39805b00e0719e272d3 \
sha256 a11389971212915328fe69101c92737b17664595c4318ebcb8da367e5ba63540 \
size 1354200
github.tarball_from archive

# from ocaml port
supported_archs i386 x86_64 arm64
universal_variant no

depends_build port:ocaml
Expand All @@ -45,7 +43,7 @@ post-patch {

# see https://trac.macports.org/ticket/57234
if {[vercmp ${xcodeversion} 10.0] >= 0} {
build.env-append XCODEFLAGS=-UseNewBuildSystem=NO
build.env-append XCODEFLAGS=-UseNewBuildSystem=NO
}

build.env-append CC=${configure.cc}
Expand All @@ -54,6 +52,16 @@ destroot.env-append PREFIX=${prefix}
build.args UISTYLE=text THREADS=true
destroot.args UISTYLE=text THREADS=true

# ocamlopt not supported on powerpc. Notice, that OCaml 5
# drops support for all 32-bit platforms in its native compiler.
# So once OCaml is updated, i386 should be added here.
if {${configure.build_arch} in [list ppc ppc64]} {
build.args-append \
NATIVE=false
destroot.args-append \
NATIVE=false
}

use_configure no

variant gtk description {Build GTK front-end} conflicts aqua {
Expand Down

0 comments on commit b2850e8

Please sign in to comment.