# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup makefile 1.0 PortGroup muniversal 1.1 name legacy-support categories devel maintainers {mascguy @mascguy} \ {fwright.net:fw @fhgwright} \ openmaintainer license MIT BSD APSL-2 description Installs wrapper headers and a runtime library to add \ missing functionality to legacy OSX versions. long_description {*}${description} # Introduced to roll back to 1.0.13 release due to issues with 1.1.0. # Must now stay. epoch 1 # Primary release version set release_ver 1.3.0 # Binary compatibility version set compat_ver 1.0.0 subport ${name} { conflicts ${name}-devel github.setup macports macports-legacy-support ${release_ver} v # Change github.tarball_from to 'releases' or 'archive' next update # N.B.: That's a nice theory, but neither choice works correctly github.tarball_from tarball revision 0 checksums rmd160 7d17aa039df1dd3e6d769a570bae703cea111e74 \ sha256 cc0f2c5d6d2dfe1b8cfa15b1f590856552df22dc9cfa1b2b796557ed2f54e3e1 \ size 95241 # Until this can be fixed disable parallel builds... # https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/141962/steps/install-port/logs/stdio use_parallel_build no pre-patch { # until upstream can be fixed, do not include atexit symbols # under certain circumstances, infinite recursive loops can form delete ${worksrcpath}/src/macports_legacy_atexit.c } } subport ${name}-devel { conflicts ${name} github.setup macports macports-legacy-support \ 1965ad6ab6c31842158d53ee38f4828e517278a5 # Change github.tarball_from to 'releases' or 'archive' next update # N.B.: That's a nice theory, but neither choice works correctly github.tarball_from tarball version 20250120 revision 0 livecheck.type none checksums rmd160 7869ee1f847476a90364b00550006608d008d653 \ sha256 336e98b306fd3d928b43342664daa550953f8f25233467670486c62544c80f67 \ size 163812 set v_split [split ${release_ver} .] set release_ver [lindex ${v_split} 0].[lindex ${v_split} 1].99 # Include Leopard-specific additions platform darwin 9 { build.target-append leopard-bins destroot.target-append install-leopard } } # The makefile PG brings in the unnecessary compiler_wrapper PG. # Disable it to reduce logfile clutter and obfuscation. compwrap.compilers_to_wrap # NOTE: Update this comment on the next release (C++ tests are gone). # # This port doesn't use C++ at all, except for a couple of tests which may # fail to build with a non-OS-default stdlib setting. Since the cxx_stdlib # selection is unimportant for the tests (which are actually only testing # the C-only interface to the library), we disable the cxx_stlib setting. # This also avoids depending on a MacPorts compiler in some OS versions. configure.cxx_stdlib # NOTE: The variables LD, LIPO, and PLATFORM are no longer used by the # latest code. Their definitions should be removed once that code becomes the # release version. build.env-append LD=ld \ "LIPO=/usr/bin/lipo" \ PLATFORM=${os.major} \ SOCURVERSION=${release_ver} \ SOCOMPATVERSION=${compat_ver} # Include Tiger-specific additions platform darwin 8 { build.target-append tiger-bins destroot.target-append install-tiger } # NOTE: The variable FORCE_ARCH is no longer used by the # latest code. Its definition should be removed once that becomes the # release version. foreach arch ${muniversal.architectures} { build.env.${arch}-append FORCE_ARCH=${arch} } test.env {*}${build.env} test.run yes test.target test if {![file exists ${prefix}/libexec/mpstats]} { notes " To help make sure your system continues to be well-represented by\ MacPorts, especially if your system is not one of the latest macOS\ releases, please consider installing mpstats. It will periodically\ send an anonymous synopsis of your OS settings and installed ports.\ The information provided by this is useful to help determine how\ resources are allocated. You can install mpstats like this: sudo port install mpstats " }