libexecinfo compatibility with devel/libexecinfo port

1. Match shlib number
2. Add libelf dependency

Suggested by: bapt[1]
This commit is contained in:
Ed Maste 2013-09-02 12:37:33 +00:00
parent 19351a14eb
commit 1d6136f850

View File

@ -3,12 +3,16 @@
LIBEXECINFO= ${.CURDIR}/../../contrib/libexecinfo
LIB= execinfo
SHLIB_MAJOR= 1
.PATH: ${LIBEXECINFO}
INCS= execinfo.h symtab.h unwind.h
SRCS= backtrace.c symtab.c unwind.c
DPADD= ${LIBELF}
LDADD= -lelf
MAN= backtrace.3
MLINKS+= backtrace.3 backtrace_symbols.3