1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add USES=execinfo to handle dependency on libexecinfo avoiding pull a useless

libdependency on ports libexecinfo on freebsd 10+
This commit is contained in:
Baptiste Daroussin 2014-08-04 23:01:26 +00:00
parent 1fd3df1d84
commit 51979ec82e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364063

17
Mk/Uses/execinfo.mk Normal file
View File

@ -0,0 +1,17 @@
# $FreeBSD$
#
# handle dependency on libexecinfo
#
# Feature: execinfo
# Usage: USES=exexinfo
#
# Take no arguments
.if !defined(_INCLUDE_USES_EXECINFO_MK)
_INCLUDE_USES_EXECINFO_MK= yes
.if !exists(/usr/lib/libexecinfo.so)
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
.endif
.endif