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:
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
17
Mk/Uses/execinfo.mk
Normal 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
|
Loading…
Reference in New Issue
Block a user