PortSystem 1.0 name libelf version 0.8.13 revision 2 checksums rmd160 06962fbbcd91da25f02b964ad9513b9536f67baa \ sha256 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d \ size 148529 categories devel license LGPL-2+ maintainers nomaintainer description ELF object file access library homepage https://web.archive.org/web/20190223180146/http://www.mr511.de/software/english.html long_description 'Libelf' lets you read, modify or create ELF files in an \ architecture-independent way. The library takes care of \ size and endian issues, e.g. you can process a file for \ SPARC processors on an Intel-based system. master_sites macports_distfiles patchfiles elf_repl.diff depends_lib port:gettext use_autoreconf yes configure.args --disable-compat build.pre_args-append instroot=${destroot} destroot.pre_args-append instroot=${destroot} platform darwin arm { depends_build-append port:automake post-patch { # Use newer config.guess and config.sub to support Apple Silicon. set automake_dirs [glob -directory ${prefix}/share automake-*] set automake_dir [lindex [lsort -command vercmp $automake_dirs] end] copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \ ${worksrcpath} } }