diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile index 289f16f2fb1f..dd063441eb05 100644 --- a/devel/libunwind/Makefile +++ b/devel/libunwind/Makefile @@ -1,48 +1,51 @@ PORTNAME= libunwind PORTVERSION= 20240221 # This is the release date on https://github.com/libunwind/libunwind/releases CATEGORIES= devel MASTER_SITES= https://github.com/libunwind/libunwind/releases/download/v${LIBUNWIND_VERSION}/ DISTNAME= ${PORTNAME}-${LIBUNWIND_VERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generic stack unwinding library WWW= https://github.com/libunwind/libunwind \ https://www.nongnu.org/libunwind/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le USES= compiler:c11 cpe libtool pathfix pkgconfig CONFIGURE_ARGS= --disable-cxx-exceptions \ --disable-unwind-header \ ac_cv_path_LATEX2MAN=${TRUE} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip USE_LDCONFIG= yes PLIST_SUB= ARCH=${ARCH:S|amd64|x86_64|:C|armv.|arm|:S|i386|x86|:C|powerpc64.*|ppc64|:S|powerpc|ppc32|} CPE_VENDOR= libunwind_project LIBUNWIND_VERSION= 1.8.1 .include .if ${ARCH:Mpowerpc*} PLIST_SUB+= COREDUMP="@comment " .else PLIST_SUB+= COREDUMP="" .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400052 PLIST_FILES= include/unwind.h +.endif post-install: +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400052 ${INSTALL_DATA} ${FILESDIR}/unwind.h ${STAGEDIR}${PREFIX}/include .endif + cd ${STAGEDIR}${PREFIX}/ && ${FIND} libexec/libunwind -type f >> ${TMPPLIST} .include diff --git a/devel/libunwind/pkg-plist b/devel/libunwind/pkg-plist index 452043a8325e..c1040317d779 100644 --- a/devel/libunwind/pkg-plist +++ b/devel/libunwind/pkg-plist @@ -1,117 +1,73 @@ include/libunwind-%%ARCH%%.h include/libunwind-common.h %%COREDUMP%%include/libunwind-coredump.h include/libunwind-dynamic.h include/libunwind-ptrace.h include/libunwind.h lib/libunwind-%%ARCH%%.a lib/libunwind-%%ARCH%%.so lib/libunwind-%%ARCH%%.so.8 lib/libunwind-%%ARCH%%.so.8.1.0 %%COREDUMP%%lib/libunwind-coredump.a %%COREDUMP%%lib/libunwind-coredump.so %%COREDUMP%%lib/libunwind-coredump.so.0 %%COREDUMP%%lib/libunwind-coredump.so.0.0.0 lib/libunwind-generic.a lib/libunwind-generic.so lib/libunwind-ptrace.a lib/libunwind-ptrace.so lib/libunwind-ptrace.so.0 lib/libunwind-ptrace.so.0.0.0 lib/libunwind-setjmp.a lib/libunwind-setjmp.so lib/libunwind-setjmp.so.0 lib/libunwind-setjmp.so.0.0.0 lib/libunwind.a lib/libunwind.so lib/libunwind.so.8 lib/libunwind.so.8.1.0 %%COREDUMP%%libdata/pkgconfig/libunwind-coredump.pc libdata/pkgconfig/libunwind-generic.pc libdata/pkgconfig/libunwind-ptrace.pc libdata/pkgconfig/libunwind-setjmp.pc libdata/pkgconfig/libunwind.pc -libexec/libunwind/Gperf-simple -libexec/libunwind/Gperf-trace -libexec/libunwind/Gtest-bt -libexec/libunwind/Gtest-concurrent -libexec/libunwind/Gtest-exc -libexec/libunwind/Gtest-init -libexec/libunwind/Gtest-resume-sig -libexec/libunwind/Gtest-resume-sig-rt -libexec/libunwind/Gtest-trace -libexec/libunwind/Gx64-test-dwarf-expressions -libexec/libunwind/Lperf-simple -libexec/libunwind/Lperf-trace -libexec/libunwind/Lrs-race -libexec/libunwind/Ltest-bt -libexec/libunwind/Ltest-concurrent -libexec/libunwind/Ltest-exc -libexec/libunwind/Ltest-init -libexec/libunwind/Ltest-init-local-signal -libexec/libunwind/Ltest-mem-validate -libexec/libunwind/Ltest-nocalloc -libexec/libunwind/Ltest-nomalloc -libexec/libunwind/Ltest-resume-sig -libexec/libunwind/Ltest-resume-sig-rt -libexec/libunwind/Ltest-trace -libexec/libunwind/Ltest-varargs -libexec/libunwind/Lx64-test-dwarf-expressions -libexec/libunwind/check-namespace.sh -libexec/libunwind/forker -libexec/libunwind/mapper -libexec/libunwind/run-ptrace-mapper -libexec/libunwind/run-ptrace-misc -libexec/libunwind/test-async-sig -libexec/libunwind/test-flush-cache -libexec/libunwind/test-init-remote -libexec/libunwind/test-mem -libexec/libunwind/test-proc-info -libexec/libunwind/test-ptrace -libexec/libunwind/test-ptrace-misc -libexec/libunwind/test-reg-state -libexec/libunwind/test-runner -libexec/libunwind/test-setjmp -libexec/libunwind/test-static-link -libexec/libunwind/test-strerror -libexec/libunwind/x64-unwind-badjmp-signal-frame share/man/man3/_U_dyn_cancel.3.gz share/man/man3/_U_dyn_register.3.gz share/man/man3/libunwind-coredump.3.gz share/man/man3/libunwind-dynamic.3.gz share/man/man3/libunwind-ia64.3.gz share/man/man3/libunwind-nto.3.gz share/man/man3/libunwind-ptrace.3.gz share/man/man3/libunwind-setjmp.3.gz share/man/man3/libunwind.3.gz share/man/man3/unw_apply_reg_state.3.gz share/man/man3/unw_backtrace.3.gz share/man/man3/unw_create_addr_space.3.gz share/man/man3/unw_destroy_addr_space.3.gz share/man/man3/unw_flush_cache.3.gz share/man/man3/unw_get_accessors.3.gz share/man/man3/unw_get_elf_filename.3.gz share/man/man3/unw_get_elf_filename_by_ip.3.gz share/man/man3/unw_get_fpreg.3.gz share/man/man3/unw_get_proc_info.3.gz share/man/man3/unw_get_proc_info_by_ip.3.gz share/man/man3/unw_get_proc_info_in_range.3.gz share/man/man3/unw_get_proc_name.3.gz share/man/man3/unw_get_proc_name_by_ip.3.gz share/man/man3/unw_get_reg.3.gz share/man/man3/unw_getcontext.3.gz share/man/man3/unw_init_local.3.gz share/man/man3/unw_init_local2.3.gz share/man/man3/unw_init_remote.3.gz share/man/man3/unw_is_fpreg.3.gz share/man/man3/unw_is_signal_frame.3.gz share/man/man3/unw_reg_states_iterate.3.gz share/man/man3/unw_regname.3.gz share/man/man3/unw_resume.3.gz share/man/man3/unw_set_cache_size.3.gz share/man/man3/unw_set_caching_policy.3.gz share/man/man3/unw_set_fpreg.3.gz share/man/man3/unw_set_iterate_phdr_function.3.gz share/man/man3/unw_set_reg.3.gz share/man/man3/unw_step.3.gz share/man/man3/unw_strerror.3.gz