Thanks for working on this.

On Mon, Oct 03, 2016 at 11:07:13AM +0200, Ingo Feinerer wrote:
> Update devel/radare2 0.8.8 -> 0.10.6
> 
> - Needs >= capstone-3.0.4p0
> - radare-bindings2 is renamed to radare2-bindings like upstream
>   (no quirks diff included yet)
>   (based on https://marc.info/?l=openbsd-ports&m=142390088012986&w=2)
> - Use system libraries if possible (capstone, zip)

Sounds good.

---8<---
Final report:
 - PREFIX = /usr/local
 - HAVE_LIB_GMP = 0
 - HAVE_OPENSSL = 1
 - USE_CAPSTONE = 1
 - HAVE_FORK = 1
 - VERSION = 0.10.6
 - USE_LIB_ZIP = 1
 - USE_LIB_MAGIC = 0
 - DEBUGGER = 1
 - CC = cc
 - USERCC = gcc
 - USEROSTYPE = bsd
 - LIBVERSION = 2.0
 - BUILD = amd64-unknown-openbsd
 - HOST = amd64-unknown-openbsd
 - TARGET = amd64-unknown-openbsd
--->8---

gmp is installed on my system, but was not detected properly (if you want the
package to use it, you need to add a LIB_DEPEND).

Did you want to pull in libmagic?

Would you like to take MAINTAINER on this?

The build didn't succeed on my system:

---8<---
...
/usr/bin/ld: warning: libcapstone, needed by 
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so, not found 
(try using -rpath or -rpath-link)
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_free'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_disasm'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_option'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/anal/libr_anal.so: undefined 
reference to `cs_reg_name'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_close'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_group_name'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/asm/libr_asm.so: undefined 
reference to `cs_open'
/usr/ports/pobj/radare2-0.10.6/radare2-0.10.6/libr/anal/libr_anal.so: undefined 
reference to `cs_insn_group'
collect2: ld returned 1 exit status
--->8---

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to