summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-09-02 12:37:33 +0000
committeremaste <emaste@FreeBSD.org>2013-09-02 12:37:33 +0000
commitd5b6a7dd6bf2435d24e1f6c7c24d475d0721ea27 (patch)
tree12e1625f80fc07da12b75a7767226237809bd167 /lib
parent8324fc34800d49750576a82222607f14c9136ebc (diff)
downloadFreeBSD-src-d5b6a7dd6bf2435d24e1f6c7c24d475d0721ea27.zip
FreeBSD-src-d5b6a7dd6bf2435d24e1f6c7c24d475d0721ea27.tar.gz
libexecinfo compatibility with devel/libexecinfo port
1. Match shlib number 2. Add libelf dependency Suggested by: bapt[1]
Diffstat (limited to 'lib')
-rw-r--r--lib/libexecinfo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile
index 4b2778c..009cb0c 100644
--- a/lib/libexecinfo/Makefile
+++ b/lib/libexecinfo/Makefile
@@ -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
OpenPOWER on IntegriCloud