--- devel/google-perftools/Makefile (revision 493843) +++ devel/google-perftools/Makefile (working copy) @@ -16,7 +16,7 @@ DOCSDIR= ${PREFIX}/share/doc/gperftools -USES= compiler:c11 gmake libtool +USES= compiler:c11 gmake libtool localbase GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check --- devel/google-perftools/files/patch-configure (revision 493843) +++ devel/google-perftools/files/patch-configure (working copy) @@ -8,3 +8,11 @@ pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested]) pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]" # NetBSD (i386) pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]" # NetBSD (x86_64) +@@ -18109,6 +18109,7 @@ $as_echo_n "checking how to access the program counter + pc_fields="$pc_fields uc_mcontext.gregs[R15]" # Linux (arm old [untested]) + pc_fields="$pc_fields uc_mcontext.arm_pc" # Linux (arm arch 5) + pc_fields="$pc_fields uc_mcontext.gp_regs[PT_NIP]" # Suse SLES 11 (ppc64) ++ pc_fields="$pc_fields uc_mcontext.mc_gpregs.gp_elr" # FreeBSD (aarch64) + pc_fields="$pc_fields uc_mcontext.mc_eip" # FreeBSD (i386) + pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested]) + pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]" # NetBSD (i386)