libexecinfo compatibility with devel/libexecinfo port

1. Match shlib number
2. Add libelf dependency

Suggested by: bapt[1]
This commit is contained in:
emaste 2013-09-02 12:37:33 +00:00
parent 8324fc3480
commit d5b6a7dd6b

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